19 lines
564 B
C#
19 lines
564 B
C#
|
|
using JiShe.CollectBus.IoTDB.Enums;
|
|||
|
|
|
|||
|
|
namespace JiShe.CollectBus.IoTDB.Attribute
|
|||
|
|
{
|
|||
|
|
/// <summary>
|
|||
|
|
/// IoTDB实体存储路径或表名称,一般用于已经明确的存储路径或表名称,例如日志存储
|
|||
|
|
/// </summary>
|
|||
|
|
[AttributeUsage(AttributeTargets.Class)]
|
|||
|
|
public class TableNameOrTreePathAttribute : System.Attribute
|
|||
|
|
{
|
|||
|
|
public string TableNameOrTreePath { get; }
|
|||
|
|
|
|||
|
|
public TableNameOrTreePathAttribute(string tableNameOrTreePath)
|
|||
|
|
{
|
|||
|
|
TableNameOrTreePath = tableNameOrTreePath;
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
}
|