chargeStationType.ts 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228
  1. export interface StationID {
  2. createdAt: string;
  3. updatedAt: string;
  4. id: string;
  5. snapshot: string;
  6. self_active_status_fk: string;
  7. business_hours_fk: string;
  8. qr_code: string;
  9. image: string;
  10. price: number;
  11. pricemodel_id: string;
  12. }
  13. export interface EquipmentID {
  14. createdAt: string;
  15. updatedAt: string;
  16. id: string;
  17. equipmentID: string;
  18. equipmentLat: number;
  19. equipmentLng: number;
  20. equipmentType: number;
  21. equipmentName: string;
  22. equipmentModel: string;
  23. power: number;
  24. StationID: StationID;
  25. }
  26. export interface Connector {
  27. createdAt: string;
  28. updatedAt: string;
  29. id: string;
  30. connectorID: string;
  31. voltageLowerLimits: number;
  32. connectorType: number;
  33. voltageUpperLimits: number;
  34. nationalStandard: number;
  35. connectorName: string;
  36. current: number;
  37. park: number;
  38. power: number;
  39. status: string;
  40. Parkstatus: string;
  41. Lockstatus: string;
  42. EquipmentID: EquipmentID;
  43. }
  44. export interface User {
  45. createdAt: string;
  46. updatedAt: string;
  47. id: string;
  48. firstname?: any;
  49. lastname?: any;
  50. nickname: string;
  51. email: string;
  52. password: string;
  53. phone: string;
  54. ic_card: string;
  55. wallet: number;
  56. icon_url?: any;
  57. remark?: any;
  58. address?: any;
  59. status_fk: string;
  60. gender: string;
  61. birthday: string;
  62. ic_car_id?: any;
  63. notify_session_id: string;
  64. }
  65. export interface Statu {
  66. id: string;
  67. createdAt: string;
  68. updatedAt: string;
  69. description: string;
  70. }
  71. export interface Car_brand {
  72. createdAt: string;
  73. updatedAt: string;
  74. id: string;
  75. name: string;
  76. img_url: string;
  77. }
  78. export interface Car_type {
  79. createdAt: string;
  80. updatedAt: string;
  81. id: string;
  82. name: string;
  83. capacitance: number;
  84. capacitance_unit: string;
  85. type_image_url?: any;
  86. }
  87. export interface Car {
  88. createdAt: string;
  89. updatedAt: string;
  90. id: string;
  91. license_plate: string;
  92. car_brand: Car_brand;
  93. car_type: Car_type;
  94. }
  95. export interface Charging {
  96. createdAt: string;
  97. updatedAt: string;
  98. id: string;
  99. penaltyTotalTime: string;
  100. penaltyFee: string;
  101. leaving_time: string;
  102. }
  103. export interface ChargingDetails {
  104. createdAt: string;
  105. updatedAt: string;
  106. id: string;
  107. book_time: string;
  108. end_time: string;
  109. actual_start_time: string;
  110. actual_end_time: string;
  111. actual_total_power: number;
  112. total_power: number;
  113. type: string;
  114. penalty_fee: number;
  115. total_fee: number;
  116. snapshot: string;
  117. remark: string;
  118. pricemodel_id?: any;
  119. promotion_name?: any;
  120. promotion_msg?: any;
  121. format_order_id: string;
  122. soc: number;
  123. paid_status: boolean;
  124. penalty_paid_status: boolean;
  125. withdraw_fee: number;
  126. connector: Connector;
  127. user: User;
  128. status: Statu;
  129. car: Car;
  130. charging: Charging [];
  131. }
  132. export interface Remark {
  133. EndTime: string;
  134. OffService: number;
  135. PeakCharge: number;
  136. StartTime: string;
  137. PeakKwh: number;
  138. ElseService: number;
  139. OffCharge: number;
  140. RushKwh: number;
  141. ElseCharge: number;
  142. PeakService: number;
  143. TotalPower: number;
  144. StartChargeSeq: string;
  145. RushCharge: number;
  146. TotalElectMoney: number;
  147. OffKwh: number;
  148. TotalServiceMoney: number;
  149. PriceModelID: number;
  150. TotalMoney: number;
  151. RushService: number;
  152. StopReason: number;
  153. ConnectorID: string;
  154. ElseKwh: number;
  155. }
  156. export interface Mon {
  157. from: string;
  158. to: string;
  159. price: number;
  160. }
  161. export interface Tue {
  162. from: string;
  163. to: string;
  164. price: number;
  165. }
  166. export interface Wed {
  167. from: string;
  168. to: string;
  169. price: number;
  170. }
  171. export interface Thu {
  172. from: string;
  173. to: string;
  174. price: number;
  175. }
  176. export interface Fri {
  177. from: string;
  178. to: string;
  179. price: number;
  180. }
  181. export interface Sat {
  182. from: string;
  183. to: string;
  184. price: number;
  185. }
  186. export interface Sun {
  187. from: string;
  188. to: string;
  189. price: number;
  190. }
  191. export interface Special {
  192. from: string;
  193. to: string;
  194. price: number;
  195. }
  196. export interface PriceWeek {
  197. mon: Mon;
  198. tue: Tue;
  199. wed: Wed;
  200. thu: Thu;
  201. fri: Fri;
  202. sat: Sat;
  203. sun: Sun;
  204. }
  205. export interface ElectricityPrice extends PriceWeek {
  206. createdAt: string;
  207. updatedAt: string;
  208. id: string;
  209. event_name: string;
  210. special: Special;
  211. is_active: boolean;
  212. expire_date: string;
  213. pricemodel_id: string;
  214. }