using System;
using HybirdFrameworkCore.Autofac.Attribute;
namespace Service.Charger.Msg.Host.Req;
///
/// 移库命令
///
public class MoveCommandReq : ASDU
{
///
/// 取仓位号
///
[Property(0, 8)]
public byte TakePositionNumber { get; set; }
///
/// 存仓位号
///
[Property(8, 8)]
public byte PositionNumber { get; set; }
///
///
///
/// 取仓位号
/// 存仓位号
public MoveCommandReq(byte takePositionNumber, byte positionNumber)
{
FrameTypeNo = 70;
MsgBodyCount = 1;
TransReason = 3;
PublicAddr = 0;
MsgBodyAddr = new byte[] { 0, 0, 0 };
TakePositionNumber = takePositionNumber;
PositionNumber = positionNumber;
}
}