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