completo invio UI con nuove const

This commit is contained in:
Samuele Locatelli
2020-07-06 19:37:13 +02:00
parent 58a0bd63f6
commit aa23946048
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -285,6 +285,7 @@ namespace Thermo.Active.Model
public const string SEND_MESSAGE = "SEND_MESSAGE";
public const string SEND_STOP_THREADS = "SEND_STOP_THREADS";
public const string SEND_NC_STATUS = "NC_STATUS";
public const string SEND_NC_STATUS_UI = "NC_STATUS_UI";
public const string SEND_THREADS_STATUS = "THREAD_STATUS";
public const string SEND_CMSCONNECT_GW_REBOOT_STATUS = "SEND_CMSCONNECT_GW_REBOOT_STATUS";
public const string SHOW_MSG_UI = "SHOW_MSG_UI";
+1 -1
View File
@@ -195,7 +195,7 @@ namespace Thermo.Active.UI
}
}),
// NC status handler
MessageServices.Current.Subscribe(SEND_NC_STATUS, (a, b) =>
MessageServices.Current.Subscribe(SEND_NC_STATUS_UI, (a, b) =>
{
bool newNcStatus = (bool)a;