Пример #1
0
 public void GetTempData()
 {
     this.id            = TempData.id;
     this.Guid          = TempData.Guid;
     this.Code          = TempData.Code;
     this.Name          = TempData.Name;
     this.Create_Time   = TempData.Create_Time;
     this.Modify_Time   = TempData.Modify_Time;
     this.Remarks       = TempData.Remarks;
     this.T_Item_Guid   = TempData.T_Item_Guid;
     this.T_Item_Name   = TempData.T_Item_Name;
     this.T_Item_Code   = TempData.T_Item_Code;
     this.DivFreCode    = TempData.DivFreCode;
     this.BasedOnRPM    = TempData.BasedOnRPM;
     this.FixedFre      = TempData.FixedFre;
     this.BasedOnRange  = TempData.BasedOnRange;
     this.AlarmStrategy = TempData.AlarmStrategy;
     this.T_AbstractChannelInfo_Code = TempData.T_AbstractChannelInfo_Code;
     TempData = null;
 }
Пример #2
0
 public void SaveTempData()
 {
     TempData               = new T1_DivFreInfo();
     TempData.id            = this.id;
     TempData.Guid          = this.Guid;
     TempData.Code          = this.Code;
     TempData.Name          = this.Name;
     TempData.Create_Time   = this.Create_Time;
     TempData.Modify_Time   = this.Modify_Time;
     TempData.Remarks       = this.Remarks;
     TempData.T_Item_Guid   = this.T_Item_Guid;
     TempData.T_Item_Name   = this.T_Item_Name;
     TempData.T_Item_Code   = this.T_Item_Code;
     TempData.DivFreCode    = this.DivFreCode;
     TempData.BasedOnRPM    = this.BasedOnRPM;
     TempData.FixedFre      = this.FixedFre;
     TempData.BasedOnRange  = this.BasedOnRange;
     TempData.AlarmStrategy = this.AlarmStrategy;
     TempData.T_AbstractChannelInfo_Code = this.T_AbstractChannelInfo_Code;
 }