Ejemplo n.º 1
0
        /// <summary>
        /// 统计土工常规函数
        /// </summary>
        private void RSTStatistic()
        {
            // 实例化一个RSTStatistic窗口
            RSTStatistic rstStatistic = new RSTStatistic();

            rstStatistic.ShowDialog();
        }
Ejemplo n.º 2
0
        /// <summary>
        /// 预加载全部数据
        /// </summary>
        public static void PreviewLoadAll()
        {
            WlStatisticList = WorkLoadStatistic.SelectStatisticData();

            NTestStatisticList = NTestStatistic.SelectStatisticData();

            RstStatisticList = RSTStatistic.SelectStatisticData();

            CptStatisticList = CPTStatistic.SelectStatisticData();

            GatStatisticList = GATStatistic.SelectStatisticData();
        }
Ejemplo n.º 3
0
 /// <summary>
 /// 执行后台线程的函数
 /// </summary>
 /// <param name="_path">输出路径</param>
 private void DoBackGroundWork(object _path)
 {
     if (BWType == OutputType.WordLoad)
     {
         WorkLoadStatistic.OutputToWord(Path);
     }
     else if (BWType == OutputType.NTest)
     {
         NTestStatistic.OutputToWord(Path);
     }
     else if (BWType == OutputType.Ps)
     {
         CPTStatistic.OutputToWord(Path);
     }
     else if (BWType == OutputType.RST)
     {
         RSTStatistic.OutputToWord(Path);
     }
     else if (BWType == OutputType.GAT)
     {
         GATStatistic.OutputToWord(Path);
     }
     else if (BWType == OutputType.BearingAndModulus)
     {
         BearingAndModulusCalculation.OutputToWord(Path);
     }
     else if (BWType == OutputType.ShearingStrength)
     {
         ShearingStrengthCalculation.OutputToWord(Path);
     }
     else if (BWType == OutputType.AllTables)
     {
         OutputStatisticToWord.OutputToWord(Path);
     }
     else if (BWType == OutputType.ZkCad)
     {
         OutputZkToCad.OutputToCad(Path, OutputZkList, OutputScaleList);
     }
     else if (BWType == OutputType.JkCad)
     {
         OutputJkToCad.OutputToCad(Path, OutputJkList, OutputScaleList);
     }
 }