diff --git a/Thermo.Active.Model/Constants.cs b/Thermo.Active.Model/Constants.cs index b9a814db..c6d26990 100644 --- a/Thermo.Active.Model/Constants.cs +++ b/Thermo.Active.Model/Constants.cs @@ -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"; diff --git a/Thermo.Active.UI/ServerControlWindow.cs b/Thermo.Active.UI/ServerControlWindow.cs index 08d6af4b..1c2d72f2 100644 --- a/Thermo.Active.UI/ServerControlWindow.cs +++ b/Thermo.Active.UI/ServerControlWindow.cs @@ -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;