Esempio n. 1
0
 public XExamVM()
 {
     _exam = new XExam();
     _exam.ObjParams = new XObjectivParameters();
     _exam.SANTest = new XSANTest();
     _exam.SubjParams = new XSubjectivParameters();
     _exam.Weather = new XWeather();
     _heartRate = new XHeartRateVM();
     _san = new XSANVM(new XSANTest());
     _subjParams = new XSubjectivParametersVM(new XSubjectivParameters());
     _bodyTemp = new XBodyTempVM();
     _sBP = new XSistolicBloodPressureVM();
     _dBP = new XDiastolicBloodPressureVM();
     _weather = new XWeatherVM(new XWeather());
     _breathRate = new XBreathRateVM();
 }
Esempio n. 2
0
 public XExamVM(XExam exam)
 {
     _exam = exam;
     _heartRate = new XHeartRateVM(exam.ObjParams.HeartRate);
        // _heartRate.Value = exam.ObjParams.HeartRate;
     _san = new XSANVM(exam.SANTest);
     _subjParams = new XSubjectivParametersVM(exam.SubjParams);
     _weather = new XWeatherVM(exam.Weather);
     _bodyTemp = new XBodyTempVM(exam.ObjParams.BodyTemp);
     //_bodyTemp.Value = exam.ObjParams.BodyTemp;
     _sBP = new XSistolicBloodPressureVM(exam.ObjParams.SistolicBloodPressure);
     //_sBP.Value = exam.ObjParams.SistolicBloodPressure;
     _dBP = new XDiastolicBloodPressureVM(exam.ObjParams.DiastolicBloodPressure);
     //_dBP.Value = exam.ObjParams.DiastolicBloodPressure;
     _breathRate = new XBreathRateVM(exam.ObjParams.BreathRate);
 }