|
@ -113,6 +113,10 @@ namespace X1.DynamicClientCore.Features.Service |
|
|
|
|
|
|
|
|
try |
|
|
try |
|
|
{ |
|
|
{ |
|
|
|
|
|
options = new RequestOptions(); |
|
|
|
|
|
options.Timeout = 120; |
|
|
|
|
|
options.EnableCircuitBreaker = false; |
|
|
|
|
|
|
|
|
_logger.LogInformation("开始启动网络连接,设备编号:{InstrumentNumber}", instrumentNumber); |
|
|
_logger.LogInformation("开始启动网络连接,设备编号:{InstrumentNumber}", instrumentNumber); |
|
|
var response = await _dynamicHttpClient.PostAsync<ApiActionResult<NetworkStatus>>( |
|
|
var response = await _dynamicHttpClient.PostAsync<ApiActionResult<NetworkStatus>>( |
|
|
instrumentNumber, |
|
|
instrumentNumber, |
|
|