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.
|
|
|
|
using HybirdFrameworkCore.Autofac.Attribute;
|
|
|
|
|
|
|
|
|
|
namespace Service.Charger.Msg.Host.Req
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 3.4.1 监控平台发送功率调节指令
|
|
|
|
|
/// </summary>
|
|
|
|
|
public class AdjustPower : ASDU
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 记录类型
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Property(0, 8)]
|
|
|
|
|
public byte RecordType { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
///期望运行 功率
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Property(8, 16, PropertyReadConstant.Bit, 0.1, 1)]
|
|
|
|
|
public ushort ExpectPower { get; set; }
|
|
|
|
|
|
|
|
|
|
public AdjustPower(ushort expectPower)
|
|
|
|
|
{
|
|
|
|
|
RecordType = 5;
|
|
|
|
|
ExpectPower = expectPower;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|