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.
34 lines
838 B
34 lines
838 B
using System;
|
|
using HybirdFrameworkCore.Autofac.Attribute;
|
|
|
|
namespace Service.Charger.Msg.Host.Req;
|
|
|
|
/// <summary>
|
|
/// 开始搬电命令
|
|
/// </summary>
|
|
public class StartMovElectricityReq : ASDU
|
|
{
|
|
|
|
/// <summary>
|
|
/// 取电池架号
|
|
/// </summary>
|
|
[Property(0, 8)]
|
|
public byte TakeBatteryShelfNumber { get; set; }
|
|
/// <summary>
|
|
/// 存电池架号
|
|
/// </summary>
|
|
[Property(8, 8)]
|
|
public byte SaveBatteryShelfNumber { get; set; }
|
|
public StartMovElectricityReq(byte takeBatteryShelfNumber, byte saveBatteryShelfNumber)
|
|
{
|
|
FrameTypeNo = 115;
|
|
MsgBodyCount = 1;
|
|
TransReason = 3;
|
|
PublicAddr = 0;
|
|
MsgBodyAddr = new byte[] { 0, 0, 0 };
|
|
TakeBatteryShelfNumber = takeBatteryShelfNumber;
|
|
SaveBatteryShelfNumber = saveBatteryShelfNumber;
|
|
}
|
|
|
|
}
|