2025-04-10 23:31:43 +08:00
|
|
|
|
using System;
|
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
using System.Linq;
|
|
|
|
|
|
using System.Text;
|
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
|
|
namespace JiShe.CollectBus.IoTDBProvider
|
|
|
|
|
|
{
|
|
|
|
|
|
/// <summary>
|
2025-04-11 14:50:46 +08:00
|
|
|
|
/// 用于标识当前实体为单侧点模式,单侧点模式只有一个Filed标识字段,类型是Tuple<string,object>,Item1=>测点名称,Item2=>测点值,泛型
|
2025-04-10 23:31:43 +08:00
|
|
|
|
/// </summary>
|
|
|
|
|
|
[AttributeUsage(AttributeTargets.Property)]
|
|
|
|
|
|
public class SingleMeasuringAttribute : Attribute
|
|
|
|
|
|
{
|
2025-04-11 11:56:23 +08:00
|
|
|
|
public string FieldName { get; set;}
|
|
|
|
|
|
|
|
|
|
|
|
public SingleMeasuringAttribute(string fieldName)
|
|
|
|
|
|
{
|
|
|
|
|
|
FieldName = fieldName;
|
|
|
|
|
|
}
|
2025-04-10 23:31:43 +08:00
|
|
|
|
}
|
|
|
|
|
|
}
|