2025-04-02 17:23:52 +08:00
|
|
|
|
using Apache.IoTDB;
|
2025-04-21 09:45:30 +08:00
|
|
|
|
using JiShe.CollectBus.IoTDB.Enums;
|
2025-04-02 17:23:52 +08:00
|
|
|
|
|
2025-04-17 20:28:50 +08:00
|
|
|
|
namespace JiShe.CollectBus.IoTDB.Provider
|
2025-04-02 17:23:52 +08:00
|
|
|
|
{
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 设备元数据
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public class DeviceMetadata
|
|
|
|
|
|
{
|
2025-04-21 09:45:30 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// IoTDB实体类型枚举
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public EntityTypeEnum EntityType { get; set; }
|
|
|
|
|
|
|
2025-04-11 11:56:23 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 是否有单测量值
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public bool IsSingleMeasuring { get; set; }
|
|
|
|
|
|
|
2025-04-02 17:23:52 +08:00
|
|
|
|
/// <summary>
|
2025-04-03 15:38:31 +08:00
|
|
|
|
/// 测量值集合,用于构建Table的测量值,也就是columnNames参数
|
2025-04-02 17:23:52 +08:00
|
|
|
|
/// </summary>
|
2025-04-11 17:06:30 +08:00
|
|
|
|
public List<string> ColumnNames { get; set; } = new();
|
2025-04-02 17:23:52 +08:00
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
2025-04-03 15:38:31 +08:00
|
|
|
|
/// 列类型集合,用于构建Table的列类型,也就是columnCategories参数
|
2025-04-02 17:23:52 +08:00
|
|
|
|
/// </summary>
|
|
|
|
|
|
public List<ColumnCategory> ColumnCategories { get; } = new();
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
2025-04-03 15:38:31 +08:00
|
|
|
|
/// 值类型集合,用于构建Table的值类型,也就是dataTypes参数
|
2025-04-02 17:23:52 +08:00
|
|
|
|
/// </summary>
|
2025-04-11 17:06:30 +08:00
|
|
|
|
public List<TSDataType> DataTypes { get; } = new();
|
2025-04-02 17:23:52 +08:00
|
|
|
|
}
|
|
|
|
|
|
}
|