public void GetTempData() { this.id = TempData.id; this.CommunicationCategory = TempData.CommunicationCategory; this.CommunicationCode = TempData.CommunicationCode; this.Identifier = TempData.Identifier; this.AliasName = TempData.AliasName; this.ACQ_Unit_Type = TempData.ACQ_Unit_Type; this.DataSourceCategory = TempData.DataSourceCategory; this.DataSourceCode = TempData.DataSourceCode; this.IsAlarmLatch = TempData.IsAlarmLatch; this.IsConfiguration = TempData.IsConfiguration; this.IsHdBypass = TempData.IsHdBypass; this.IsHdConfiguration = TempData.IsHdConfiguration; this.IsHdMultiplication = TempData.IsHdMultiplication; this.IsListen = TempData.IsListen; this.AsySyn = TempData.AsySyn; this.LanguageCategory = TempData.LanguageCategory; this.LanguageCode = TempData.LanguageCode; this.MainCardCategory = TempData.MainCardCategory; this.MainCardCode = TempData.MainCardCode; this.SampleMode = TempData.SampleMode; this.ServerIP = TempData.ServerIP; this.WaveCategory = TempData.WaveCategory; this.SynWaveCode = TempData.SynWaveCode; this.Version = TempData.Version; this.ScaleDataRange = TempData.ScaleDataRange; this.IP = TempData.IP; TempData = null; }
public void SaveTempData() { TempData = new T1_MainControlCard(); TempData.id = this.id; TempData.CommunicationCategory = this.CommunicationCategory; TempData.CommunicationCode = this.CommunicationCode; TempData.Identifier = this.Identifier; TempData.AliasName = this.AliasName; TempData.ACQ_Unit_Type = this.ACQ_Unit_Type; TempData.DataSourceCategory = this.DataSourceCategory; TempData.DataSourceCode = this.DataSourceCode; TempData.IsAlarmLatch = this.IsAlarmLatch; TempData.IsConfiguration = this.IsConfiguration; TempData.IsHdBypass = this.IsHdBypass; TempData.IsHdConfiguration = this.IsHdConfiguration; TempData.IsHdMultiplication = this.IsHdMultiplication; TempData.IsListen = this.IsListen; TempData.AsySyn = this.AsySyn; TempData.LanguageCategory = this.LanguageCategory; TempData.LanguageCode = this.LanguageCode; TempData.MainCardCategory = this.MainCardCategory; TempData.MainCardCode = this.MainCardCode; TempData.SampleMode = this.SampleMode; TempData.ServerIP = this.ServerIP; TempData.WaveCategory = this.WaveCategory; TempData.SynWaveCode = this.SynWaveCode; TempData.Version = this.Version; TempData.ScaleDataRange = this.ScaleDataRange; TempData.IP = this.IP; }