public EBMConfigure.DefaltVolume GetData()
 {
     try
     {
         if (Volumn == null)
         {
             Volumn = new EBMConfigure.DefaltVolume();
         }
         EBConigureDefaltVolume config = new EBConigureDefaltVolume();
         Volumn.Configure      = config;
         Volumn.B_Address_type = pnlAddressType.GetAddressType();
         Volumn.Column         = Convert.ToInt16(textVolumn.Text.Trim());
         Volumn.Configure.list_Terminal_Address = pnlTerminalAddress.GetData();
         return(Volumn);
     }
     catch
     {
         return(null);
     }
 }
 public void InitData(object config)
 {
     Volumn = config as EBMConfigure.DefaltVolume;
     pnlAddressType.InitAddressType(Volumn.B_Address_type);
     pnlTerminalAddress.InitData(Volumn.Configure.list_Terminal_Address);
 }