@nywqs/scada-engine 1.1.26 → 1.1.28
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.
- package/README.md +28 -13
- package/dist/scada-engine.css +1 -1
- package/dist/scada-engine.es.js +14050 -12627
- package/dist/scada-engine.umd.js +26 -26
- package/dist/src/components/BindingCard.d.ts +3 -6
- package/dist/src/components/{DevicePointSelector.d.ts → ComponentPointSelector.d.ts} +5 -9
- package/dist/src/components/DataPropertiesTab.d.ts +0 -2
- package/dist/src/scada-components/iot/industrial-3d-fluid.d.ts +9 -0
- package/dist/src/scada-components/registry.d.ts +4 -0
- package/dist/src/scada-components/types.d.ts +28 -3
- package/dist/src/services/dataParser.d.ts +110 -0
- package/dist/src/services/dataSourceManager.d.ts +7 -1
- package/dist/src/services/httpService.d.ts +73 -0
- package/dist/src/services/mqttService.d.ts +5 -5
- package/dist/src/services/sseService.d.ts +75 -0
- package/dist/src/services/websocketService.d.ts +67 -0
- package/dist/src/types/dataAdapter.d.ts +184 -0
- package/dist/src/utils/canvasConfigWatcher.d.ts +2 -1
- package/dist/src/utils/dataBindingService.d.ts +40 -11
- package/dist/src/views/workflow/components/WorkflowToolbar.d.ts +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,18 +1,22 @@
|
|
|
1
1
|
# @nywqs/scada-engine
|
|
2
2
|
|
|
3
|
+
[](https://www.npmjs.com/package/@nywqs/scada-engine)
|
|
4
|
+
[](https://github.com/leoncheng2030/scada-engine/blob/main/LICENSE)
|
|
5
|
+
|
|
3
6
|
基于 AntV X6 + Vue 3 的自研 SCADA 组态引擎
|
|
4
7
|
|
|
5
8
|
## 特性
|
|
6
9
|
|
|
7
|
-
-
|
|
8
|
-
-
|
|
9
|
-
-
|
|
10
|
-
-
|
|
11
|
-
- TypeScript
|
|
12
|
-
-
|
|
13
|
-
-
|
|
14
|
-
-
|
|
15
|
-
-
|
|
10
|
+
- ✅ **可视化编辑器**:拖拽式组态界面设计
|
|
11
|
+
- 🎭 **丰富组件库**:内置基础图形、IoT组件、图表等
|
|
12
|
+
- 🔗 **数据绑定**:支持设备数据点绑定和实时更新
|
|
13
|
+
- ⚡ **事件系统**:灵活的事件配置和交互响应
|
|
14
|
+
- 📝 **TypeScript**:完整的类型定义支持
|
|
15
|
+
- 🔄 **响应式**:基于 Vue 3 Composition API
|
|
16
|
+
- 🎨 **动画引擎**:支持节点和连线动画效果
|
|
17
|
+
- 👀 **预览模式**:支持编辑模式和预览模式切换
|
|
18
|
+
- 📡 **数据集成**:支持多种数据源集成方式
|
|
19
|
+
- 📱 **自适应**:画布自动适配不同屏幕尺寸
|
|
16
20
|
|
|
17
21
|
## 安装
|
|
18
22
|
|
|
@@ -34,6 +38,12 @@ npm install vue@^3.4.0 vue-router@^4.6.0 @antv/x6@^2.18.0 echarts@^5.5.0 pinia@^
|
|
|
34
38
|
|
|
35
39
|
## 快速开始
|
|
36
40
|
|
|
41
|
+
### 安装
|
|
42
|
+
|
|
43
|
+
```bash
|
|
44
|
+
npm install @nywqs/scada-engine@latest
|
|
45
|
+
```
|
|
46
|
+
|
|
37
47
|
### 全局注册
|
|
38
48
|
|
|
39
49
|
```typescript
|
|
@@ -616,10 +626,15 @@ npm publish
|
|
|
616
626
|
|
|
617
627
|
## 版本历史
|
|
618
628
|
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
-
|
|
622
|
-
-
|
|
629
|
+
完整的版本更新记录请查看 [CHANGELOG.md](./CHANGELOG.md)
|
|
630
|
+
|
|
631
|
+
### 1.1.27 (2025-01-16)
|
|
632
|
+
- 修复 `ScadaCanvas.vue` 中 `calculateContainerSize` 函数的 TypeScript 类型声明
|
|
633
|
+
- 为函数添加明确的返回类型注解,消除 TS6133 警告
|
|
634
|
+
|
|
635
|
+
### 1.1.26 (2025-01-16)
|
|
636
|
+
- 创建版本更新历史记录文档 CHANGELOG.md
|
|
637
|
+
- 建立版本发布规范和记录模板
|
|
623
638
|
|
|
624
639
|
### 1.1.20 (2026-01-06)
|
|
625
640
|
- 画布自适应缩放:支持不同分辨率设备自动适配显示
|