From a4d52e6779fc90934c22b94e53d41d42bef3626e Mon Sep 17 00:00:00 2001 From: Roy Ben-Shabat Date: Tue, 5 Mar 2019 16:58:38 +0200 Subject: Some improvements to PPC. Fixed issue with database constraint of dispensers <=> IDS_PACKS. --- Software/Visual_Studio/PPC/Tango.PPC.Common/PPCViewModel.cs | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'Software/Visual_Studio/PPC/Tango.PPC.Common/PPCViewModel.cs') diff --git a/Software/Visual_Studio/PPC/Tango.PPC.Common/PPCViewModel.cs b/Software/Visual_Studio/PPC/Tango.PPC.Common/PPCViewModel.cs index b9a0d8483..5e584f891 100644 --- a/Software/Visual_Studio/PPC/Tango.PPC.Common/PPCViewModel.cs +++ b/Software/Visual_Studio/PPC/Tango.PPC.Common/PPCViewModel.cs @@ -176,6 +176,15 @@ namespace Tango.PPC.Common TangoMessenger.Default.Send(message); } + /// + /// Raises the specified message using the default . + /// + /// + protected void RaiseMessage() where T : class + { + TangoMessenger.Default.Send(Activator.CreateInstance()); + } + /// /// Registers a message handle for the specified message type T. /// -- cgit v1.3.1