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.

38 lines
719 B

namespace HybirdFrameworkServices.ChargerManage;
/**
* 充电机对象实体类
*/
public class ChargerInfo
{
public static Dictionary<string, ChargerInfo> ChargerInfoMap = new Dictionary<string, ChargerInfo>();
//充电机编号
public string? ChargerNo { get; set; }
//通道id
public string? ChannelId { get; set; }
//ip
public string? Ip { get; set; }
//端口
public int Port { get; set; }
public bool Status { get; set; }
//构造方法
public ChargerInfo(string chargerNo, string channelId, string ip, int port)
{
this.ChannelId = channelId;
this.Ip = ip;
this.Port = port;
this.ChargerNo = chargerNo;
}
}