123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990 |
- using DevExpress.XtraEditors;
- using DxHelper;
- using ExtensionsDev;
- using System;
- using System.Collections.Generic;
- using System.ComponentModel;
- using System.Data;
- using System.Drawing;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- using System.Windows.Forms;
- using XzXdDw.App;
- using XzXdDw.App.Model;
- namespace XdCxRhDW.App.UserControl
- {
- public partial class DXErrEllipseParam : DevExpress.XtraEditors.XtraUserControl
- {
- public ErrEllipse单星协同接口 Model => new ErrEllipse单星协同接口()
- {
- TleMain = txtTleMain.Text.Trim(),
- CapTime = txtCapTime.DateTime,
- CapTime1=txtCapTime1.DateTime,
- CapTime2=txtCapTime2.DateTime,
- DfoErr = Convert.ToDouble(txtDfoErr1.Text),
- SatLocErr = Convert.ToDouble(txtSatLocErr1.Text),
- EphVelErr = Convert.ToDouble(txtEphVelErr1.Text),
- fu = Convert.ToDouble(txtFu1.Text)*1e6,
- };
- public DXErrEllipseParam(double MBfu)
- {
- InitializeComponent();
- txtTleMain.UseDoubleClickToSelectAll();
- txtTleMain.UseDefault().SetStringData(TestData.AllTle).Text = TestData.TleMain;
- this.txtCapTime.DateTime = TestData.Time;
- this.txtCapTime1.DateTime = TestData.Time;
- this.txtCapTime2.DateTime = TestData.Time;
- this.txtDfoErr1.EditValue = TestData.DfoHzErr;
- this.txtSatLocErr1.EditValue = TestData.SatLocErr;
- this.txtEphVelErr1.EditValue = TestData.EphVelErr;
- this.txtFu1.EditValue = MBfu * 1e-6;
- }
- private void btnOK_Click(object sender, EventArgs e)
- {
- PopupHelper.HidePopup(this);
- }
- }
- public class ErrEllipse单星协同接口
- {
- /// <summary>
- /// 主星星历
- /// </summary>
- public string TleMain { get; set; }
- /// <summary>
- /// 采集时刻1
- /// </summary>
- public DateTime CapTime { get; set; }
- /// <summary>
- /// 采集时刻2
- /// </summary>
- public DateTime CapTime1 { get; set; }
- /// <summary>
- /// 采集时刻3
- /// </summary>
- public DateTime CapTime2 { get; set; }
- /// <summary>
- /// 频差误差(Hz)
- /// </summary>
- public double DfoErr { get; set; }
- /// <summary>
- /// 星历位置误差
- /// </summary>
- public double SatLocErr { get; set; } = 10000;
- /// <summary>
- ///星历速度误差
- /// </summary>
- public double EphVelErr { get; set; }
- /// <summary>
- /// 上行频点(Hz)
- /// </summary>
- public double fu { get; set; }
- }
- }
|