Beispiel #1
0
        public void Handle(InitDbFromXmlStatus message)
        {
            if (ReferenceEquals(StationOwner, message.OwnerStation))
            {
                if (message.Status == Status.Load)
                {
                    ImportantMessage.Clear();
                }

                ValueProcess = message.Status == Status.Ok ? 100 : (int)(message.Status + 1) * 10;
                ImportantMessage.Add(message);
            }
        }
Beispiel #2
0
 public void Handle(InitDbFromXmlStatus message)
 {
     // MessageBox.Show(message.Status);//DEBUG
 }