private void HandleMapComplementaryInformationsDataMessage(InteractiveUseEndedMessage message, ConnectedHost source) { ElementModel value; if (Interactives.TryGetValue((int)message.elemId, out value)) { value.Enabled = false; } OnUpdated(); }
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(); }
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(); }