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
792 B
33 lines
792 B
using System;
|
|
using HybirdFrameworkCore.Autofac.Attribute;
|
|
|
|
namespace Service.Charger.Msg.Host.Req;
|
|
|
|
/// <summary>
|
|
/// 移库命令
|
|
/// </summary>
|
|
public class MoveCommandReq : ASDU {
|
|
|
|
/// <summary>
|
|
/// 取仓位号
|
|
/// </summary>
|
|
[Property(0, 8 )]
|
|
public byte TakePositionNumber {get;set;}
|
|
/// <summary>
|
|
/// 存仓位号
|
|
/// </summary>
|
|
[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;
|
|
}
|
|
}
|