SympatheticHardwareControl.Controller.GetExperimentReport C# (CSharp) Méthode

GetExperimentReport() public méthode

public GetExperimentReport ( ) : Object>.Dictionary
Résultat Object>.Dictionary
        public Dictionary<String, Object> GetExperimentReport()
        {
            Dictionary<String, Object> report = new Dictionary<String, Object>();
            report["laserLockErrorSignal"] = ReadLaserErrorSignal();
            report["chamber1Pressure"] = ReadChannel1Pressure();
            report["chamber2Pressure"] = ReadChannel2Pressure();
            foreach (KeyValuePair<string, double> pair in stateRecord.analogs)
            {
                report[pair.Key] = pair.Value;
            }
            foreach (KeyValuePair<string, bool> pair in stateRecord.digitals)
            {
                report[pair.Key] = pair.Value;
            }
            return report;
        }