SBTData.swift 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167
  1. import Foundation
  2. class SBTData: NSObject {
  3. let DemoData : [String : Any] = ["ProdctName": "Simulation_experience".da_localizedStr(),
  4. "product_type": "MC2420N10",
  5. "softWareCersion": "V1.0.5",
  6. "HardWareVersion": "V0.3.2",
  7. "device_type": "Controller_household".da_localizedStr(),
  8. "ProductSN": "190600100",
  9. "solarPower": "184",
  10. "solarStatus":
  11. "MPPT_charge_mode".da_localizedStr(),
  12. "solarVoltage": "16.0",
  13. "solarCurrent": "11.47",
  14. // "batteryStatus": "Normal".da_localizedStr(),
  15. "batteryVoltage": "14.1",
  16. "batteryCurrent": "13.56",
  17. "batteryTemp": "29",
  18. "loadStatus": "Load_is_on".da_localizedStr(),
  19. "loadVoltage": "14.1",
  20. "loadCurrent": "8.06",
  21. "loadPower": "114",
  22. "runtime": "100",
  23. "fullTimes": "80",
  24. "overTimes": "6",
  25. "GeneratEnergyTotal": "95908",
  26. "chargingAmpereHour": "6908",
  27. "UsedEnergyTotal": "66677",
  28. "dischargeAmpereHour": "4770",
  29. "batteryStatus": "Normal".da_localizedStr(),
  30. "autoRecognition": "0",
  31. "idischagRate": "0",
  32. "MaxVolt":"96",
  33. "BatRateVolt": "12",
  34. "BatTypeSet": "User-defined".da_localizedStr(),
  35. "IchageRage": "20",
  36. "MaxChargeCurrent":"20.00",
  37. "CmdPowerOnOff": "On".da_localizedStr(),
  38. "ChgMaxTemper": "65",
  39. "ChgMinTemper": "0",
  40. "BatOverVolt": "16.0",
  41. "BatChgLimitVolt": "15.5",
  42. "BatImprovChgVolt": "14.4",
  43. "BatFloatChgVolt": "14.4",
  44. "BatImprovChgBackVolt": "13.2",
  45. "BatImprovChgTime": "120",
  46. "CoeffTemperCompen": "0",
  47. "BatConstChgVolt": "14.4",
  48. "BatConstChgTime": "0",
  49. "BatConstChgGapTime": "0",
  50. "BattEqualChgImmediate": "Prohibited".da_localizedStr(),
  51. "BatOverDischgBackVolt": "12.6",
  52. "BatUnderVolt": "12.0",
  53. "BatOverDischgVolt": "11.1",
  54. "BatDischgLimitVolt": "10.6",
  55. "BatOverDischgDelayTime": "5",
  56. "DisChagMaxTemper": "75",
  57. "DisChagMinTemper": "0",
  58. "DcLoadMode": "Light_control".da_localizedStr(),
  59. "LightCtrlDelayTime": "5",
  60. "LightCtrlVolt": "5",
  61. "Rx": "Normal_communication".da_localizedStr(),
  62. "Tx": "Normal_communication".da_localizedStr(),
  63. "historyDataArr":
  64. [["his_batteryVoltageMin": "13.0", //当天蓄电池最低电压
  65. "his_batteryVoltageMax": "14.1", //当天蓄电池最高电压
  66. "his_chargingCurrentMax": "13.56",//当天最大充电电流
  67. "his_chargingPowerMax": "184", // 当天最大充电功率
  68. "his_chargingAmpereHour": "81", // 当天充电安时数
  69. "his_dischargeCurrentmax": "8.06", // 当天最大放电电流
  70. "his_dischargePowerMax": "114", // 当天最大放电功率
  71. "his_dischargeAmpereHour": "48", // 当天放电安是数
  72. "his_generationCapacity": "1113", //当天发电量
  73. "his_dischargeCapacity": "661"], // 当天放电量
  74. ["his_batteryVoltageMin": "12.6", //当天蓄电池最低电压
  75. "his_batteryVoltageMax": "14.4", //当天蓄电池最高电压
  76. "his_chargingCurrentMax": "10.05",//当天最大充电电流
  77. "his_chargingPowerMax": "145", // 当天最大充电功率
  78. "his_chargingAmpereHour": "60", // 当天充电安时数
  79. "his_dischargeCurrentmax": "7.96", // 当天最大放电电流
  80. "his_dischargePowerMax": "115", // 当天最大放电功率
  81. "his_dischargeAmpereHour": "46", // 当天放电安是数
  82. "his_generationCapacity": "842", //当天发电量
  83. "his_dischargeCapacity": "647"], // 当天放电量
  84. ["his_batteryVoltageMin": "12.7", //当天蓄电池最低电压
  85. "his_batteryVoltageMax": "14.5", //当天蓄电池最高电压
  86. "his_chargingCurrentMax": "12.36",//当天最大充电电流
  87. "his_chargingPowerMax": "180", // 当天最大充电功率
  88. "his_chargingAmpereHour": "74", // 当天充电安时数
  89. "his_dischargeCurrentmax": "8.16", // 当天最大放电电流
  90. "his_dischargePowerMax": "118", // 当天最大放电功率
  91. "his_dischargeAmpereHour": "47", // 当天放电安是数
  92. "his_generationCapacity": "1043", //当天发电量
  93. "his_dischargeCapacity": "668"], // 当天放电量
  94. ["his_batteryVoltageMin": "12.8", //当天蓄电池最低电压
  95. "his_batteryVoltageMax": "14.4", //当天蓄电池最高电压
  96. "his_chargingCurrentMax": "13.77",//当天最大充电电流
  97. "his_chargingPowerMax": "198", // 当天最大充电功率
  98. "his_chargingAmpereHour": "83", // 当天充电安时数
  99. "his_dischargeCurrentmax": "7.36", // 当天最大放电电流
  100. "his_dischargePowerMax": "106", // 当天最大放电功率
  101. "his_dischargeAmpereHour": "43", // 当天放电安是数
  102. "his_generationCapacity": "1154", //当天发电量
  103. "his_dischargeCapacity": "598"], // 当天放电量
  104. ["his_batteryVoltageMin": "10.8", //当天蓄电池最低电压
  105. "his_batteryVoltageMax": "13.1", //当天蓄电池最高电压
  106. "his_chargingCurrentMax": "4.18",//当天最大充电电流
  107. "his_chargingPowerMax": "55", // 当天最大充电功率
  108. "his_chargingAmpereHour": "25", // 当天充电安时数
  109. "his_dischargeCurrentmax": "8.46", // 当天最大放电电流
  110. "his_dischargePowerMax": "111", // 当天最大放电功率
  111. "his_dischargeAmpereHour": "49", // 当天放电安是数
  112. "his_generationCapacity": "319", //当天发电量
  113. "his_dischargeCapacity": "626"], // 当天放电量
  114. ["his_batteryVoltageMin": "13.0", //当天蓄电池最低电压
  115. "his_batteryVoltageMax": "14.4", //当天蓄电池最高电压
  116. "his_chargingCurrentMax": "13.67",//当天最大充电电流
  117. "his_chargingPowerMax": "197", // 当天最大充电功率
  118. "his_chargingAmpereHour": "82", // 当天充电安时数
  119. "his_dischargeCurrentmax": "7.96", // 当天最大放电电流
  120. "his_dischargePowerMax": "115", // 当天最大放电功率
  121. "his_dischargeAmpereHour": "46", // 当天放电安是数
  122. "his_generationCapacity": "1146", //当天发电量
  123. "his_dischargeCapacity": "647"], // 当天放电量
  124. ["his_batteryVoltageMin": "13.1", //当天蓄电池最低电压
  125. "his_batteryVoltageMax": "14.5", //当天蓄电池最高电压
  126. "his_chargingCurrentMax": "13.00",//当天最大充电电流
  127. "his_chargingPowerMax": "189", // 当天最大充电功率
  128. "his_chargingAmpereHour": "78", // 当天充电安时数
  129. "his_dischargeCurrentmax": "9.16", // 当天最大放电电流
  130. "his_dischargePowerMax": "133", // 当天最大放电功率
  131. "his_dischargeAmpereHour": "53", // 当天放电安是数
  132. "his_generationCapacity": "1097", //当天发电量
  133. "his_dischargeCapacity": "750"], // 当天放电量
  134. ["his_batteryVoltageMin": "12.9", //当天蓄电池最低电压
  135. "his_batteryVoltageMax": "14.4", //当天蓄电池最高电压
  136. "his_chargingCurrentMax": "12.00",//当天最大充电电流
  137. "his_chargingPowerMax": "172.8", // 当天最大充电功率
  138. "his_chargingAmpereHour": "72", // 当天充电安时数
  139. "his_dischargeCurrentmax": "9.06", // 当天最大放电电流
  140. "his_dischargePowerMax": "130", // 当天最大放电功率
  141. "his_dischargeAmpereHour": "53", // 当天放电安是数
  142. "his_generationCapacity": "1006", //当天发电量
  143. "his_dischargeCapacity": "737"],],]
  144. }