protected virtual void OnSysCommonMessageDispatched(SysCommonMessageEventArgs e)
        {
            EventHandler <SysCommonMessageEventArgs> handler = SysCommonMessageDispatched;

            if (handler != null)
            {
                handler(this, e);
            }
        }
Beispiel #2
0
        protected virtual void OnSysCommonMessageReceived(SysCommonMessageEventArgs e)
        {
            EventHandler <SysCommonMessageEventArgs> handler = SysCommonMessageReceived;

            if (handler != null)
            {
                context.Post(delegate(object dummy)
                {
                    handler(this, e);
                }, null);
            }
        }
 public static ShortMessageEventArgs FromSysCommonMessage(SysCommonMessageEventArgs arg)
 {
     return(new ShortMessageEventArgs(arg.Message));
 }
Beispiel #4
0
 private void EventSource_SysCommonMessageReceived(object sender, SysCommonMessageEventArgs e)
 {
     FOutDevice.Send(e.Message);
 }