예제 #1
0
        private void HandleMapComplementaryInformationsDataMessage(InteractiveUseEndedMessage message, ConnectedHost source)
        {
            ElementModel value;

            if (Interactives.TryGetValue((int)message.elemId, out value))
            {
                value.Enabled = false;
            }

            OnUpdated();
        }
예제 #2
0
 private void HandleMapComplementaryInformationsDataMessage(StatedMapUpdateMessage message, ConnectedHost source)
 {
     foreach (StatedElement element in message.statedElements)
     {
         ElementModel value;
         if (Interactives.TryGetValue(element.elementId, out value))
         {
             value.Update(element);
         }
     }
     OnUpdated();
 }
예제 #3
0
        private void HandleMapComplementaryInformationsDataMessage(StatedElementUpdatedMessage message, ConnectedHost source)
        {
            if (Interactives == null)
            {
                return;
            }

            ElementModel value;

            if (Interactives.TryGetValue(message.statedElement.elementId, out value))
            {
                value.Update(message.statedElement);
            }

            OnUpdated();
        }