|
@@ -398,7 +398,7 @@ namespace IMCS.CCS.Service.Impl
|
|
|
if (deviceList == null || deviceList.Count <= 0)
|
|
|
{
|
|
|
Log.Instance.WriteLogAdd("数据采集===>>HEIDEHAIN设备无在线");
|
|
|
- Console.WriteLine("数据采集===>>HEIDEHAIN设备无在线");
|
|
|
+ //Console.WriteLine("数据采集===>>HEIDEHAIN设备无在线");
|
|
|
return "HEIDEHAIN设备无在线";
|
|
|
}
|
|
|
|
|
@@ -411,7 +411,7 @@ namespace IMCS.CCS.Service.Impl
|
|
|
|
|
|
//调用海德汉采集接口
|
|
|
Log.Instance.WriteLogAdd("海得汉采集调用地址-->" + hdhUrlContext + " 调用参数->" + hdhReq);
|
|
|
- Console.WriteLine("海得汉采集调用地址-->" + hdhUrlContext + " 调用参数->" + hdhReq);
|
|
|
+ //Console.WriteLine("海得汉采集调用地址-->" + hdhUrlContext + " 调用参数->" + hdhReq);
|
|
|
var Result = await _apiRequestService.RequestAsync(RequsetModeEnum.Post, hdhUrlContext, hdhReq, null);
|
|
|
{
|
|
|
Log.Instance.WriteLogAdd("采集得数据-->" + Result);
|