/// <summary>
 /// コンストラクタ
 /// </summary>
 /// <param name="model">Rms.Server.Utility.Utility.Models.DtAlarmDefConnectionMonitorのインスタンス</param>
 public DtAlarmDefConnectionMonitor(Rms.Server.Utility.Utility.Models.DtAlarmDefConnectionMonitor model)
 {
     this.Sid       = model.Sid;
     this.TypeCode  = model.TypeCode;
     this.ErrorCode = model.ErrorCode;
     this.AnalysisResultErrorCode = model.AnalysisResultErrorCode;
     this.Target           = model.Target;
     this.ValueFrom        = model.ValueFrom;
     this.ValueEqualFrom   = model.ValueEqualFrom;
     this.ValueTo          = model.ValueTo;
     this.ValueEqualTo     = model.ValueEqualTo;
     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.DtAlarmDefConnectionMonitor型に変換する。
        /// </summary>
        /// <returns></returns>
        public Rms.Server.Utility.Utility.Models.DtAlarmDefConnectionMonitor ToModel()
        {
            Rms.Server.Utility.Utility.Models.DtAlarmDefConnectionMonitor model = new Rms.Server.Utility.Utility.Models.DtAlarmDefConnectionMonitor();
            model.Sid       = this.Sid;
            model.TypeCode  = this.TypeCode;
            model.ErrorCode = this.ErrorCode;
            model.AnalysisResultErrorCode = this.AnalysisResultErrorCode;
            model.Target           = this.Target;
            model.ValueFrom        = this.ValueFrom;
            model.ValueEqualFrom   = this.ValueEqualFrom;
            model.ValueTo          = this.ValueTo;
            model.ValueEqualTo     = this.ValueEqualTo;
            model.AlarmLevel       = this.AlarmLevel;
            model.AlarmTitle       = this.AlarmTitle;
            model.AlarmDescription = this.AlarmDescription;
            model.CreateDatetime   = this.CreateDatetime;
            model.UpdateDatetime   = this.UpdateDatetime;

            return(model);
        }