2025-04-02 17:23:52 +08:00
|
|
|
|
using Apache.IoTDB;
|
|
|
|
|
|
using System;
|
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
using System.Linq;
|
|
|
|
|
|
using System.Text;
|
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
|
|
namespace JiShe.CollectBus.IoTDBProvider
|
|
|
|
|
|
{
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 设备元数据
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public class DeviceMetadata
|
|
|
|
|
|
{
|
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-03 15:38:31 +08:00
|
|
|
|
public List<string> ColumnNames { get; } = 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>
|
|
|
|
|
|
public List<TSDataType>DataTypes { get; } = new();
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|