using JiShe.CollectBus.Analyzers.Shared;
using JiShe.CollectBus.IoTDB.Attributes; 

namespace JiShe.CollectBus.IoTDB.Model
{
    /// <summary>
    /// Tree模型单项数据实体
    /// </summary>
    [SourceAnalyzers(EntityTypeEnum.TreeModel)]
    public class TreeModelSingleMeasuringEntity<T> : IoTEntity
    {
        /// <summary>
        /// 单项数据键值对
        /// </summary>
        [SingleMeasuring(nameof(SingleMeasuring))]
        public required ValueTuple<string, T> SingleMeasuring { get; set; }
    }
}
