public Controller(IConnection connection) { m_Connection = connection; m_Commander = new Commander(m_Connection); m_StateReader = new StateReader(m_Commander); m_ConnectionState = ConnectionState.Disconnected; }
public StateReader(Commander commander) { m_Commander = commander; m_State = new State(); m_UpdateCount = 0; SetupCommandSets(); }