@gluttons/es-tools 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -173,7 +173,7 @@ export declare namespace AlarmType {
173
173
  /**
174
174
  * 获取告警描述
175
175
  */
176
- function getDescription(alarmType: AlarmType): "枚举错误" | "" | "预警" | "告警" | "保护" | "故障";
176
+ function getDescription(alarmType: AlarmType): "告警" | "故障" | "预警" | "枚举错误" | "" | "保护";
177
177
  }
178
178
  /**
179
179
  * 告警状态
@@ -251,7 +251,7 @@ export declare namespace CommunicationStatus {
251
251
  /**
252
252
  * 获取储能站状态描述
253
253
  */
254
- function getDescription(communicationStatus: CommunicationStatus): "枚举错误" | "" | "正常" | "整站断开" | "设备断线" | "设备告警" | "整站待机" | "整站充电" | "整站放电" | "整站停机" | "整站禁用";
254
+ function getDescription(communicationStatus: CommunicationStatus): "正常" | "整站断开" | "设备断线" | "设备告警" | "枚举错误" | "" | "整站待机" | "整站充电" | "整站放电" | "整站停机" | "整站禁用";
255
255
  }
256
256
  /**
257
257
  * 缺陷类型
@@ -154,7 +154,7 @@ export declare namespace EBcuGroupRunStatus {
154
154
  * 获取电池簇运行状态描述
155
155
  * @param status
156
156
  */
157
- function getDescription(status: EBcuGroupRunStatus): "预警" | "告警" | "故障" | "正常" | "未知" | "充满" | "放空";
157
+ function getDescription(status: EBcuGroupRunStatus): "正常" | "未知" | "充满" | "放空" | "告警" | "故障" | "预警";
158
158
  }
159
159
  /**
160
160
  * 设备通道状态
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gluttons/es-tools",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "基于 Vue3 的储能工具包",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/typings/index.d.ts",
@@ -43,7 +43,7 @@
43
43
  },
44
44
  "dependencies": {
45
45
  "@~crazy/eventmanager": "0.0.1",
46
- "@gluttons/launcher": "0.0.2",
46
+ "@gluttons/launcher": "^0.0.3",
47
47
  "@gluttons/spanner": "0.1.0",
48
48
  "vue": "3.4.23",
49
49
  "vue-router": "4.3.2"