protected override void InitializeData(string towerName)
        {
            base.InitializeData(towerName);

            List <HangingPointSettingParas> hPList = struCalsParas.HPSettingsParas;

            if (hPList == null || hPList.Count == 0)
            {
                struCalsParas.NewHangingPointSetting();
            }

            HangingPoints = new ObservableCollection <HangingPoint>();
            for (num = 1; num <= struCalsParas.HPSettingsParas.Count; num++)
            {
                HangingPoints.Add(HangingPoint.Create("挂点方案" + num.ToString(), struCalsParas));
            }
        }
 public void AddNewTab(TabControlTabAddingEventArgs e)
 {
     struCalsParas.NewHangingPointSetting();
     e.Item = HangingPoint.Create("挂点方案" + num.ToString(), struCalsParas);
     num++;
 }