public void GetTempData()
 {
     this.id                   = TempData.id;
     this.CardName             = TempData.CardName;
     this.CardNum              = TempData.CardNum;
     this.T_MainControlCard_IP = TempData.T_MainControlCard_IP;
     this.Code                 = TempData.Code;
     TempData                  = null;
 }
 public void SaveTempData()
 {
     TempData                      = new T1_WireMatchingCard();
     TempData.id                   = this.id;
     TempData.CardName             = this.CardName;
     TempData.CardNum              = this.CardNum;
     TempData.T_MainControlCard_IP = this.T_MainControlCard_IP;
     TempData.Code                 = this.Code;
 }