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.

35 lines
856 B

5 months ago
using System;
using HybirdFrameworkCore.Autofac.Attribute;
using Microsoft.OpenApi.Models;
namespace Service.Charger.Msg.Host.Req;
/// <summary>
/// 准备电池开启
/// </summary>
public class PrepareBatteryOnReq : ASDU {
/// <summary>
/// 准备电池标志
/// </summary>
[Property(0, 8 )]
public byte ReadyBatterySign {get;set;}
/// <summary>
/// 取仓位号
/// </summary>
[Property(8, 8 )]
public byte TakePositionNumber {get;set;}
public PrepareBatteryOnReq(byte readyBatterySign, byte takePositionNumber)
{
FrameTypeNo = 75;
MsgBodyCount = 1;
TransReason = 3;
PublicAddr = 0;
MsgBodyAddr = new byte[] { 0, 0, 0 };
ReadyBatterySign = readyBatterySign;
TakePositionNumber = takePositionNumber;
}
}