新版
This commit is contained in:
@@ -64,6 +64,10 @@ namespace ARI.EAP.HOST.SRD
|
||||
public string remoteIp { get; set; }
|
||||
[XmlAttribute]
|
||||
public string remotePort { get; set; }
|
||||
[XmlAttribute]
|
||||
public string equipmentName1 { get; set; }
|
||||
[XmlAttribute]
|
||||
public string equipmentName2 { get; set; }
|
||||
}
|
||||
|
||||
[Serializable]
|
||||
|
||||
@@ -30,7 +30,7 @@ namespace ARI.EAP.HOST.Common
|
||||
/// </summary>
|
||||
public static class Constants
|
||||
{
|
||||
public const string equipmentName = "MARK_01";
|
||||
public const string equipmentName = "LEDE_01";
|
||||
public const string configuerPath = "Configuration/" + equipmentName + ".xml";
|
||||
}
|
||||
|
||||
|
||||
@@ -72,7 +72,7 @@ namespace ARI.EAP.HOST.Common
|
||||
public MESHeartBitParam()
|
||||
{
|
||||
this.deviceId = Configurations.conf.connectSetting.deviceId;
|
||||
this.equipmentName = Configurations.conf.connectSetting.name;
|
||||
this.equipmentName = Configurations.conf.connectSetting.equipmentName1;
|
||||
this.ip = Configurations.conf.connectSetting.remoteIp;
|
||||
this.port = Configurations.conf.connectSetting.remotePort;
|
||||
this.connectStatus = EquipmentStatus.EqConnectState;
|
||||
|
||||
Reference in New Issue
Block a user