|
|
@@ -209,7 +209,7 @@ namespace HBLConsole.Business |
|
|
|
{ |
|
|
|
if (IOTDevServer.client != null && IOTDevServer.client.IsConnected && device != null) |
|
|
|
{ |
|
|
|
string url = InternetInfo.IotApiAddress + "/api/Alarm/Create"; |
|
|
|
string url = InternetInfo.IotApiAddress + "/api/Log/Create"; |
|
|
|
logTable.ClientId = InternetInfo.ClientId.ToString(); |
|
|
|
logTable.devicename = device.devicename; |
|
|
|
string redata = HttpRequestHelper.HttpPostRequest(url,Tools.JsonConvertTools(logTable)); |
|
|
|