You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

33 lines
793 B

using System;
using HybirdFrameworkCore.Autofac.Attribute;
namespace Service.Charger.Msg.Host.Req;
/// <summary>
/// 出库命令
/// </summary>
public class OutboundCommandReq : ASDU {
/// <summary>
/// 出库方式
/// </summary>
[Property(0, 8 )]
public byte OutboundMode {get;set;}
/// <summary>
/// 取仓位号
/// </summary>
[Property(8, 8 )]
public byte TakePositionNumber {get;set;}
public OutboundCommandReq(byte outboundMode, byte takePositionNumber)
{
FrameTypeNo = 72;
MsgBodyCount = 1;
TransReason = 3;
PublicAddr = 0;
MsgBodyAddr = new byte[] { 0, 0, 0 };
OutboundMode = outboundMode;
TakePositionNumber = takePositionNumber;
}
}