pry 2 anos atrás
pai
commit
6bf706fa2c
2 arquivos alterados com 4 adições e 1 exclusões
  1. +3
    -1
      BPASmartClient.IoT/DataVClient.cs
  2. +1
    -0
      BPASmartClient.ViewModel/MainViewModel.cs

+ 3
- 1
BPASmartClient.IoT/DataVClient.cs Ver arquivo

@@ -99,7 +99,9 @@ namespace BPASmartClient.IoT
{
if (DeviceDataV != null && DeviceDataV.GetIsConnected() && DeviceDataV.deviceTable != null)
{
DeviceDataV.IOT_Publish(BroadcastPubTopic, Tools.JsonConvertTools("刷新店铺列表"));
string api = DataVApiAddress + "/api/Device/FlushedDevice";
HttpRequestHelper.HttpGetRequest(api, 1000);
//DeviceDataV.IOT_Publish(BroadcastPubTopic, Tools.JsonConvertTools("刷新店铺列表"));
}
}
catch (Exception ex)


+ 1
- 0
BPASmartClient.ViewModel/MainViewModel.cs Ver arquivo

@@ -65,6 +65,7 @@ namespace BPASmartClient.ViewModel
}));
});


dispatcherTimer = new DispatcherTimer();
dispatcherTimer.Tick += delegate
{


Carregando…
Cancelar
Salvar