61 lines
1.2 KiB
C#
Raw Normal View History

2024-10-29 16:28:14 +08:00
using System.Collections.Generic;
2024-11-13 00:30:24 +08:00
using System.ComponentModel.DataAnnotations;
2024-10-29 16:28:14 +08:00
using JiShe.CollectBus.Common.Enums;
2024-10-21 13:30:53 +08:00
2024-10-29 16:28:14 +08:00
namespace JiShe.CollectBus.Common.Models
2024-10-21 13:30:53 +08:00
{
//TODO
public class CommandReulstMsg
{
//Code
//Msg
//CommandReulst
}
public class CommandReulst
{
public int CmdLength { get; set; }
2024-11-13 00:30:24 +08:00
[Required]
2024-10-21 13:30:53 +08:00
public string A { get; set; }
public int MSA { get; set; }
public AFN AFN { get; set; }
2024-11-13 00:30:24 +08:00
[Required]
2024-10-21 13:30:53 +08:00
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; }
}
}