2024-11-13 00:30:24 +08:00

61 lines
1.2 KiB
C#

using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using JiShe.CollectBus.Common.Enums;
namespace JiShe.CollectBus.Common.Models
{
//TODO
public class CommandReulstMsg
{
//Code
//Msg
//CommandReulst
}
public class CommandReulst
{
public int CmdLength { get; set; }
[Required]
public string A { get; set; }
public int MSA { get; set; }
public AFN AFN { get; set; }
[Required]
public Seq Seq { get; set; }
public int Pn { get; set; }
public int Fn { get; set; }
/// <summary>
/// 数据报文
/// </summary>
public List<string>? HexDatas { get; set; }
/// <summary>
/// 数据体
/// </summary>
public string? JsonData { get; set; }
/// <summary>
/// 响应下发的数据报文
/// </summary>
public byte[]? ReplyBytes { get; set; }
}
public class Seq
{
public TpV TpV { get; set; }
public FIRFIN FIRFIN { get; set; }
public CON CON { get; set; }
public int PRSEQ { get; set; }
}
}