/// <summary> /// コンストラクタ /// </summary> /// <param name="model">Rms.Server.Utility.Utility.Models.DtSmartAnalysisResultのインスタンス</param> public DtSmartAnalysisResult(Rms.Server.Utility.Utility.Models.DtSmartAnalysisResult model) { this.Sid = model.Sid; this.EquipmentUid = model.EquipmentUid; this.DiskSerialNumber = model.DiskSerialNumber; this.C5RawData = model.C5RawData; this.C5RawDataChanges = model.C5RawDataChanges; this.C5ChangesThreshhold = model.C5ChangesThreshhold; this.C5ChangesThreshholdOverCount = model.C5ChangesThreshholdOverCount; this.C5ChangesThreshholdLastDatetime = model.C5ChangesThreshholdLastDatetime; this.CreateDatetime = model.CreateDatetime; this.UpdateDatetime = model.UpdateDatetime; }
/// <summary> /// このインスタンスを、それと同等なRms.Server.Utility.Utility.Models.DtSmartAnalysisResult型に変換する。 /// </summary> /// <returns></returns> public Rms.Server.Utility.Utility.Models.DtSmartAnalysisResult ToModel() { Rms.Server.Utility.Utility.Models.DtSmartAnalysisResult model = new Rms.Server.Utility.Utility.Models.DtSmartAnalysisResult(); model.Sid = this.Sid; model.EquipmentUid = this.EquipmentUid; model.DiskSerialNumber = this.DiskSerialNumber; model.C5RawData = this.C5RawData; model.C5RawDataChanges = this.C5RawDataChanges; model.C5ChangesThreshhold = this.C5ChangesThreshhold; model.C5ChangesThreshholdOverCount = this.C5ChangesThreshholdOverCount; model.C5ChangesThreshholdLastDatetime = this.C5ChangesThreshholdLastDatetime; model.CreateDatetime = this.CreateDatetime; model.UpdateDatetime = this.UpdateDatetime; return(model); }