|
@@ -440,7 +440,7 @@ namespace HengshanPaymentTerminal
|
|
|
switch(context.Incoming.Message.Handle)
|
|
|
{
|
|
|
|
|
|
- case 10:
|
|
|
+ case 0x10:
|
|
|
{
|
|
|
|
|
|
HeartBeatMessage heartBeatMessage = (HeartBeatMessage)context.Incoming.Message;
|
|
@@ -925,9 +925,9 @@ namespace HengshanPaymentTerminal
|
|
|
|
|
|
SendNozzleStatu sendNozzleStatu = new SendNozzleStatu(nozzleState);
|
|
|
logger.Info($"send nozzle state to cloud,{sendNozzleStatu.NozzleId}-{sendNozzleStatu.Status}");
|
|
|
- HttpResponseMessage httpResponseMessage = await httpClientUtil.SendNozzleStatu(JsonConvert.SerializeObject(sendNozzleStatu));
|
|
|
- Response<object>? response = JsonConvert.DeserializeObject<Response<object>>(await httpResponseMessage.Content.ReadAsStringAsync());
|
|
|
- logger.Info($"reveice send nozzle state response:{JsonConvert.SerializeObject(response)}");
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
}
|
|
|
|
|
|
|