|
|
|
|
using HybirdFrameworkCore.Autofac.Attribute;
|
|
|
|
|
using Service.Charger.Msg;
|
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace Service.Charger.Msg.Host.Resp;
|
|
|
|
|
|
|
|
|
|
public class WhetherChargedResq : ASDU
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 仓01
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Property(0, 1)]
|
|
|
|
|
public byte granary01 { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 仓02
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Property(1, 1)]
|
|
|
|
|
public byte granary02 { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 仓03
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Property(2, 1)]
|
|
|
|
|
public byte granary03 { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 仓04
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Property(3, 1)]
|
|
|
|
|
public byte granary04 { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 仓05
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Property(4, 1)]
|
|
|
|
|
public byte granary05 { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 仓06
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Property(5, 1)]
|
|
|
|
|
public byte granary06 { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 仓07
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Property(6, 1)]
|
|
|
|
|
public byte granary07 { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 仓08
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Property(7, 1)]
|
|
|
|
|
public byte granary08 { get; set; }
|
|
|
|
|
|
|
|
|
|
public WhetherChargedResq(byte granary01, byte granary02, byte granary03, byte granary04, byte granary05, byte granary06, byte granary07, byte granary08)
|
|
|
|
|
{
|
|
|
|
|
FrameTypeNo = 122;
|
|
|
|
|
MsgBodyCount = 1;
|
|
|
|
|
TransReason = 3;
|
|
|
|
|
PublicAddr = 0;
|
|
|
|
|
MsgBodyAddr = new byte[] { 0, 0, 0 };
|
|
|
|
|
this.granary01 = granary01;
|
|
|
|
|
this.granary02 = granary02;
|
|
|
|
|
this.granary03 = granary03;
|
|
|
|
|
this.granary04 = granary04;
|
|
|
|
|
this.granary05 = granary05;
|
|
|
|
|
this.granary06 = granary06;
|
|
|
|
|
this.granary07 = granary07;
|
|
|
|
|
this.granary08 = granary08;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|