public PCState GetState() { PCState curState = new PCState(); curState.inputPlace = m_input.GetCount(); curState.warningPlace = m_warning.GetCount(); curState.alertPlace = m_alert.GetCount(); return(curState); }
// view i-face public void GetStateMtx(out Dictionary <string, PCState> pcStates, out List <int> flushData) { pcStates = new Dictionary <string, PCState>(); foreach (var pc in m_pcStorage) { string curName = pc.Key; PCState curState = pc.Value.GetState(); pcStates.Add(curName, curState); } flushData = new List <int>(); foreach (var fl in m_flushes) { flushData.Add(fl.MarksCount()); } }