Beispiel #1
0
        public void GetIgnitionConfiguration()
        {
            GetIgnitionConfigurationResponse response = (GetIgnitionConfigurationResponse)SendCommand(new GetIgnitionConfigurationCommand());

            if (response != null)
            {
                IgnitionMap.Populate(response);
            }
        }
Beispiel #2
0
        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);
        }