using System;
using System.Collections.Generic;
namespace BatCharging.Model
{
public class Login : ASDU
{
///
/// 监控网关编号
///
public UInt16 GatewayNo { get; set; }
///
/// 设备属性
///
public byte EquipType { get; set; }
///
/// 通讯协议版本
///
public byte ConnProtocolVersion0 { get; set; }
public byte ConnProtocolVersion1 { get; set; }
public byte ConnProtocolVersion2 { get; set; }
///
/// 充电控制器硬件版本号
///
public byte ControllerHardwareVersion0 { get; set; }
public byte ControllerHardwareVersion1 { get; set; }
public byte ControllerHardwareVersion2 { get; set; }
///
/// 充电控制器软件版本
///
public byte ControllerSoftwareVersion0 { get; set; }
public byte ControllerSoftwareVersion1 { get; set; }
public byte ControllerSoftwareVersion2 { get; set; }
///
/// 充电枪口数目
///
public byte GunNum { get; set; }
///
/// 充电模块数目
///
public byte GunModuleNum { get; set; }
///
/// 额定功率
///
public byte RatedPower { get; set; }
///
/// 当前功率
///
public byte CurrentPower { get; set; }
///
/// 当前速率
///
public byte CurrentSpeed { get; set; }
///
/// 分流器量程
///
public UInt16 DiverterRange { get; set; }
public Login()
{
this.FrameTypeNo = 45;
//this.SetReason(3);
this.MsgBodyCount = 1;
//this.RecordType = 11;
}
}
}