/// <summary> /// コンストラクタ /// </summary> /// <param name="model">Rms.Server.Utility.Utility.Models.DtAlarmDefCalibrationPremonitorのインスタンス</param> public DtAlarmDefCalibrationPremonitor(Rms.Server.Utility.Utility.Models.DtAlarmDefCalibrationPremonitor model) { this.Sid = model.Sid; this.TypeCode = model.TypeCode; this.ErrorCode = model.ErrorCode; this.AlarmLevel = model.AlarmLevel; this.AlarmTitle = model.AlarmTitle; this.AlarmDescription = model.AlarmDescription; this.CreateDatetime = model.CreateDatetime; this.UpdateDatetime = model.UpdateDatetime; }
/// <summary> /// このインスタンスを、それと同等なRms.Server.Utility.Utility.Models.DtAlarmDefCalibrationPremonitor型に変換する。 /// </summary> /// <returns></returns> public Rms.Server.Utility.Utility.Models.DtAlarmDefCalibrationPremonitor ToModel() { Rms.Server.Utility.Utility.Models.DtAlarmDefCalibrationPremonitor model = new Rms.Server.Utility.Utility.Models.DtAlarmDefCalibrationPremonitor(); model.Sid = this.Sid; model.TypeCode = this.TypeCode; model.ErrorCode = this.ErrorCode; model.AlarmLevel = this.AlarmLevel; model.AlarmTitle = this.AlarmTitle; model.AlarmDescription = this.AlarmDescription; model.CreateDatetime = this.CreateDatetime; model.UpdateDatetime = this.UpdateDatetime; return(model); }