From eaf6f22bdc8404b317acb3d500d1b47c26c3dcf2 Mon Sep 17 00:00:00 2001
From: ChenYi <296215406@outlook.com>
Date: Mon, 12 May 2025 15:14:19 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8DIoTDB=E6=9F=A5=E8=AF=A2?=
=?UTF-8?q?=E6=98=A0=E5=B0=84=E7=B1=BB=E5=9E=8B=E5=BC=82=E5=B8=B8=E7=9A=84?=
=?UTF-8?q?=E9=97=AE=E9=A2=98?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../JiShe.CollectBus.IoTDB/Model/Class1.cs | 12 --
.../Provider/DeviceMetadata.cs | 19 ++-
.../Provider/IoTDBProvider.cs | 143 ++++++++++--------
.../Samples/SampleAppService.cs | 88 ++++++++++-
.../BasicScheduledMeterReadingService.cs | 2 +-
.../IotSystems/Devices/DeviceDataInfo.cs | 22 +++
6 files changed, 200 insertions(+), 86 deletions(-)
delete mode 100644 modules/JiShe.CollectBus.IoTDB/Model/Class1.cs
create mode 100644 services/JiShe.CollectBus.Domain/IotSystems/Devices/DeviceDataInfo.cs
diff --git a/modules/JiShe.CollectBus.IoTDB/Model/Class1.cs b/modules/JiShe.CollectBus.IoTDB/Model/Class1.cs
deleted file mode 100644
index 9bcd5ff..0000000
--- a/modules/JiShe.CollectBus.IoTDB/Model/Class1.cs
+++ /dev/null
@@ -1,12 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-
-namespace JiShe.CollectBus.IoTDB.Model
-{
- internal class Class1
- {
- }
-}
diff --git a/modules/JiShe.CollectBus.IoTDB/Provider/DeviceMetadata.cs b/modules/JiShe.CollectBus.IoTDB/Provider/DeviceMetadata.cs
index 92c33ee..a93ba35 100644
--- a/modules/JiShe.CollectBus.IoTDB/Provider/DeviceMetadata.cs
+++ b/modules/JiShe.CollectBus.IoTDB/Provider/DeviceMetadata.cs
@@ -60,14 +60,29 @@ namespace JiShe.CollectBus.IoTDB.Provider
public string ColumnName;
///
- /// 值获取委托
+ /// 数据类型
+ ///
+ public TSDataType TSDataType { get; set;}
+
+ ///
+ /// 值获取委托(参数:实体对象)
///
public Func