31 lines
878 B
C#
31 lines
878 B
C#
|
|
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
|
|||
|
|
{
|
|||
|
|
/// <summary>
|
|||
|
|
/// 测量值集合,用于构建Table的测量值,也就是field参数
|
|||
|
|
/// </summary>
|
|||
|
|
public List<string> Measurements { get; } = new();
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 列类型集合,用于构建Table的列类型,也就是columnCategory参数
|
|||
|
|
/// </summary>
|
|||
|
|
public List<ColumnCategory> ColumnCategories { get; } = new();
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 值类型集合,用于构建Table的值类型,也就是dataType参数
|
|||
|
|
/// </summary>
|
|||
|
|
public List<TSDataType>DataTypes { get; } = new();
|
|||
|
|
}
|
|||
|
|
}
|