示例#1
0
 public void SaveTempData()
 {
     TempData                         = new T1_AbstractChannelInfo();
     TempData.id                      = this.id;
     TempData.Organization            = this.Organization;
     TempData.T_Device_Name           = this.T_Device_Name;
     TempData.T_Device_Code           = this.T_Device_Code;
     TempData.T_Device_Guid           = this.T_Device_Guid;
     TempData.T_Item_Name             = this.T_Item_Name;
     TempData.T_Item_Code             = this.T_Item_Code;
     TempData.T_Item_Guid             = this.T_Item_Guid;
     TempData.CHNum                   = this.CHNum;
     TempData.SubCHNum                = this.SubCHNum;
     TempData.IsUploadData            = this.IsUploadData;
     TempData.Unit                    = this.Unit;
     TempData.SVTypeCategory          = this.SVTypeCategory;
     TempData.SVTypeCode              = this.SVTypeCode;
     TempData.LocalSaveCategory       = this.LocalSaveCategory;
     TempData.LocalSaveCode           = this.LocalSaveCode;
     TempData.IsBypass                = this.IsBypass;
     TempData.DelayAlarmTime          = this.DelayAlarmTime;
     TempData.NotOKDelayAlarmTime     = this.NotOKDelayAlarmTime;
     TempData.IsLogic                 = this.IsLogic;
     TempData.LogicExpression         = this.LogicExpression;
     TempData.Remarks                 = this.Remarks;
     TempData.Extra_Information       = this.Extra_Information;
     TempData.AlarmStrategy           = this.AlarmStrategy;
     TempData.Code                    = this.Code;
     TempData.T_AbstractSlotInfo_Code = this.T_AbstractSlotInfo_Code;
 }
示例#2
0
 public void GetTempData()
 {
     this.id                      = TempData.id;
     this.Organization            = TempData.Organization;
     this.T_Device_Name           = TempData.T_Device_Name;
     this.T_Device_Code           = TempData.T_Device_Code;
     this.T_Device_Guid           = TempData.T_Device_Guid;
     this.T_Item_Name             = TempData.T_Item_Name;
     this.T_Item_Code             = TempData.T_Item_Code;
     this.T_Item_Guid             = TempData.T_Item_Guid;
     this.CHNum                   = TempData.CHNum;
     this.SubCHNum                = TempData.SubCHNum;
     this.IsUploadData            = TempData.IsUploadData;
     this.Unit                    = TempData.Unit;
     this.SVTypeCategory          = TempData.SVTypeCategory;
     this.SVTypeCode              = TempData.SVTypeCode;
     this.LocalSaveCategory       = TempData.LocalSaveCategory;
     this.LocalSaveCode           = TempData.LocalSaveCode;
     this.IsBypass                = TempData.IsBypass;
     this.DelayAlarmTime          = TempData.DelayAlarmTime;
     this.NotOKDelayAlarmTime     = TempData.NotOKDelayAlarmTime;
     this.IsLogic                 = TempData.IsLogic;
     this.LogicExpression         = TempData.LogicExpression;
     this.Remarks                 = TempData.Remarks;
     this.Extra_Information       = TempData.Extra_Information;
     this.AlarmStrategy           = TempData.AlarmStrategy;
     this.Code                    = TempData.Code;
     this.T_AbstractSlotInfo_Code = TempData.T_AbstractSlotInfo_Code;
     TempData                     = null;
 }