chargeStationType.ts 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218
  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 ChargingDetails {
  96. createdAt: string;
  97. updatedAt: string;
  98. id: string;
  99. book_time: string;
  100. end_time: string;
  101. actual_start_time: string;
  102. actual_end_time: string;
  103. actual_total_power: number;
  104. total_power: number;
  105. type: string;
  106. penalty_fee: number;
  107. total_fee: number;
  108. snapshot: string;
  109. remark: string;
  110. promotion_name?: any;
  111. promotion_msg?: any;
  112. format_order_id: string;
  113. soc: number;
  114. paid_status: boolean;
  115. penalty_paid_status: boolean;
  116. withdraw_fee: number;
  117. connector: Connector;
  118. user: User;
  119. status: Statu;
  120. car: Car;
  121. }
  122. export interface Remark {
  123. EndTime: string;
  124. OffService: number;
  125. PeakCharge: number;
  126. StartTime: string;
  127. PeakKwh: number;
  128. ElseService: number;
  129. OffCharge: number;
  130. RushKwh: number;
  131. ElseCharge: number;
  132. PeakService: number;
  133. TotalPower: number;
  134. StartChargeSeq: string;
  135. RushCharge: number;
  136. TotalElectMoney: number;
  137. OffKwh: number;
  138. TotalServiceMoney: number;
  139. PriceModelID: number;
  140. TotalMoney: number;
  141. RushService: number;
  142. StopReason: number;
  143. ConnectorID: string;
  144. ElseKwh: number;
  145. }
  146. export interface Mon {
  147. from: string;
  148. to: string;
  149. price: number;
  150. }
  151. export interface Tue {
  152. from: string;
  153. to: string;
  154. price: number;
  155. }
  156. export interface Wed {
  157. from: string;
  158. to: string;
  159. price: number;
  160. }
  161. export interface Thu {
  162. from: string;
  163. to: string;
  164. price: number;
  165. }
  166. export interface Fri {
  167. from: string;
  168. to: string;
  169. price: number;
  170. }
  171. export interface Sat {
  172. from: string;
  173. to: string;
  174. price: number;
  175. }
  176. export interface Sun {
  177. from: string;
  178. to: string;
  179. price: number;
  180. }
  181. export interface Special {
  182. from: string;
  183. to: string;
  184. price: number;
  185. }
  186. export interface ElectricityPrice {
  187. createdAt: string;
  188. updatedAt: string;
  189. id: string;
  190. event_name: string;
  191. mon: Mon;
  192. tue: Tue;
  193. wed: Wed;
  194. thu: Thu;
  195. fri: Fri;
  196. sat: Sat;
  197. sun: Sun;
  198. special: Special;
  199. is_active: boolean;
  200. expire_date: string;
  201. pricemodel_id: string;
  202. }