47 lines
1009 B
C#
47 lines
1009 B
C#
|
|
using System;
|
|||
|
|
using System.Collections.Generic;
|
|||
|
|
using System.Linq;
|
|||
|
|
using System.Text;
|
|||
|
|
using System.Threading.Tasks;
|
|||
|
|
|
|||
|
|
namespace JiShe.CollectBus.Protocol.Contracts.Protocol.Dto
|
|||
|
|
{
|
|||
|
|
public class AnalysisBaseDto
|
|||
|
|
{
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 是否有效数据
|
|||
|
|
/// </summary>
|
|||
|
|
public bool ValidData { get; set; } = true;
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 数据类型
|
|||
|
|
/// </summary>
|
|||
|
|
public string DataType { get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 错误码信息
|
|||
|
|
/// </summary>
|
|||
|
|
public string ErrorCodeMsg { get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 字段名
|
|||
|
|
/// </summary>
|
|||
|
|
public string FiledName { get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 字段描述
|
|||
|
|
/// </summary>
|
|||
|
|
public string FiledDesc { get; set; }
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
public class AnalysisBaseDto<T> : AnalysisBaseDto
|
|||
|
|
{
|
|||
|
|
/// <summary>
|
|||
|
|
/// 抄读值
|
|||
|
|
/// </summary>
|
|||
|
|
public T? DataValue { get; set; }
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
}
|