public void GetIgnitionConfiguration() { GetIgnitionConfigurationResponse response = (GetIgnitionConfigurationResponse)SendCommand(new GetIgnitionConfigurationCommand()); if (response != null) { IgnitionMap.Populate(response); } }
public Controller(ICommunicationPort communicationPort, IPersistedStorage persistedStorage) { CommunicationPort = communicationPort; CommunicationPortLock = new object(); RefreshInterval = 150; GlobalConfiguration = new GlobalConfiguration(this); IgnitionMap = new IgnitionMap(this, persistedStorage); CurrentState = new CurrentState(this); }