Compare commits

...

2 Commits

Author SHA1 Message Date
rszn 78762e5ad7 合并提交
6 months ago
rszn eed5f501cb 电能读取优化
7 months ago

@ -32,8 +32,6 @@ namespace Module.EMeter.ModbusTcp
/// 3号充电机电表 /// 3号充电机电表
/// </summary> /// </summary>
public static EMeterModbus527Tool EBC03 = new EMeterModbus527Tool("172.0.50.100", 405, 6, "2号换电站11号充电机"); public static EMeterModbus527Tool EBC03 = new EMeterModbus527Tool("172.0.50.100", 405, 6, "2号换电站11号充电机");
/// </summary> /// </summary>
public static EMeterModbus527Tool EBC04 = new EMeterModbus527Tool("172.0.50.100", 405, 7, "2号换电站配电总柜"); public static EMeterModbus527Tool EBC04 = new EMeterModbus527Tool("172.0.50.100", 405, 7, "2号换电站配电总柜");
/// <summary> /// <summary>

@ -545,6 +545,8 @@ namespace Module.EMeter.ModbusTcp
_emeter_param_result = paramRlt; _emeter_param_result = paramRlt;
new ElecMeterValToRedis().StoredMeterParamResult(_eqm_code, paramRlt); new ElecMeterValToRedis().StoredMeterParamResult(_eqm_code, paramRlt);
} }
Thread.Sleep(2000); Thread.Sleep(2000);
} }
} }

@ -86,8 +86,8 @@ namespace Module.EMeter.ModbusTcp
CmnElecMeterBaseInfo.EBC03.Connect(); CmnElecMeterBaseInfo.EBC03.Connect();
} }
Thread.Sleep(200); Thread.Sleep(200);
if (!CmnElecMeterBaseInfo.EBC04.F_NetConnected) if (!CmnElecMeterBaseInfo.EBC04.F_NetConnected)
{ {
CmnElecMeterBaseInfo.EBC04.Connect(); CmnElecMeterBaseInfo.EBC04.Connect();
@ -102,8 +102,8 @@ namespace Module.EMeter.ModbusTcp
{ {
CmnElecMeterBaseInfo.EBC06.Connect(); CmnElecMeterBaseInfo.EBC06.Connect();
} }
Thread.Sleep(100); Thread.Sleep(100);
if (!CmnElecMeterBaseInfo.EBC07.F_NetConnected) if (!CmnElecMeterBaseInfo.EBC07.F_NetConnected)
{ {

Loading…
Cancel
Save