Beispiel #1
0
        public Controller(IConnection connection)
        {
            m_Connection = connection;
            m_Commander = new Commander(m_Connection);
            m_StateReader = new StateReader(m_Commander);

            m_ConnectionState = ConnectionState.Disconnected;
        }
Beispiel #2
0
        public StateReader(Commander commander)
        {
            m_Commander = commander;
            m_State = new State();
            m_UpdateCount = 0;

            SetupCommandSets();
        }