private void button_LSAdjust_Click(object sender, EventArgs e) { string strKnownPoints = this.textBox_KnowPoints.Text; if (strKnownPoints == null) { throw new Exception("请输入固定点点号!"); } string[] strKPoints = strKnownPoints.Split(';'); string[] filePaths = this.textBox_Path.Lines; // string[] filePathes = this.textBox_Path.Lines; // List<SinexFile> sinexFiles = SinexFile.Read(filePaths); SinexNetworksAdjust sinexNetAdjust = new SinexNetworksAdjust(filePaths, strKPoints); }
private void Read() { string strKnownPoints = this.textBox_KnowPoints.Text; if (strKnownPoints == null) { throw new Exception("请输入固定点点号!"); } string[] strKPoints = strKnownPoints.Split(';'); string[] filePaths = this.textBox_Path.Lines; double k0 = Convert.ToDouble(this.textBox_k0.Text); double k1 = Convert.ToDouble(this.textBox_k1.Text); double eps = Convert.ToDouble(this.textBox_eps.Text); // string[] filePathes = this.textBox_Path.Lines; // List<SinexFile> sinexFiles = SinexFile.Read(filePaths); // SinexNetworksAdjust sinexNetAdjust = new SinexNetworksAdjust(filePaths, strKPoints, k0, k1, eps); double rate = 0.05; SinexNetworksAdjust sinexNetAdjust = new SinexNetworksAdjust(filePaths, strKPoints, k0, k1, eps, rate); // SinexNetworkAjustment sna = new SinexNetworkAjustment(filePaths, strKPoints,1);// }
private void button_FreeCoGPS_Click(object sender, EventArgs e) { string[] filePaths = this.textBox_Path.Lines; SinexNetworksAdjust sinexNetAdjust = new SinexNetworksAdjust(filePaths); }