Ejemplo n.º 1
0
        /// <summary>
        /// 构造函数
        /// </summary>
        /// <param name="Directory"></param>
        /// <param name="Name"></param>
        public AdjustEquationFileBuilder(string Directory, string Name = "平差文件")
        {
            this.Directory = Directory;
            AdjustTables   = new MatrixEquationManager();

            if (!String.IsNullOrWhiteSpace(Name))
            {
                AdjustTables.Name = Name;
            }
        }
Ejemplo n.º 2
0
        private void DataBind(MatrixEquationManager mat)
        {
            this.Entities = mat;
            Entity        = mat.First;
            this.richTextBoxControl_result.Text = mat.ToReadableText();
            var mormal = mat.GetNormalEquations();

            this.objectTableControl_obs.DataBind(mat.GetObsTable());
            this.objectTableControl_result.DataBind(mormal.GetResultTable());
            this.objectTableControl_residual.DataBind(mat.GetResidualTable());
            this.richTextBoxControl_normalEq.Text = mormal.ToReadableText();
        }