示例#1
0
 public void BindFrameB(FrameB frame)
 {
     this.label_FrameB_GPS经度_value.Text = frame.GPS经度.ToString("F7");
     this.label_FrameB_GPS维度_value.Text = frame.GPS维度.ToString("F7");
     this.label_FrameB_GPS地速_value.Text = frame.GPS地速.ToString("F1");
     this.label_FrameB_GPS地速方向_value.Text = frame.GPS地速方向.ToString("F1");
     this.label_FrameB_GPS高度_value.Text = frame.GPS高度.ToString("F1");
     this.label_FrameB_GPS升降速度_value.Text = frame.GPS升降速度.ToString("F1");
     this.label_FrameB_GPS可见星数_value.Text = frame.GPS可见星数.ToString();
     this.label_FrameB_GPS工作状态_value.Text = frame.GPS工作状态.ToString();
     this.label_FrameB_GPS东向速度_value.Text = frame.GPS东向速度.ToString("F1");
     this.label_FrameB_GPS北向速度_value.Text = frame.GPS北向速度.ToString("F1");
     this.label_FrameB_f俯仰给定_value.Text = frame.f俯仰给定.ToString("F1");
     this.label_FrameB_g滚转给定_value.Text = frame.g滚转给定.ToString("F1");
     this.label_FrameB_g高度积分_value.Text = frame.g高度积分.ToString("F1");
     this.label_FrameB_f俯仰积分_value.Text = frame.f俯仰积分.ToString("F1");
     this.label_FrameB_f滚转积分_value.Text = frame.f滚转积分.ToString("F1");
     this.label_FrameB_GPS时_value.Text = frame.GPS时.ToString();
     this.label_FrameB_GPS分_value.Text = frame.GPS分.ToString();
     this.label_FrameB_GPS秒_value.Text = frame.GPS秒.ToString();
     this.label_FrameB_z帧计数_value.Text = frame.z帧计数.ToString();
 }
示例#2
0
        private void BindFrameB(FrameB frameB)
        {
            this.gyroscopeUserControl1.GPS高度 = frameB.GPS高度;

            this.dashboardUserControl2.CurrentValue = frameB.GPS高度;
            this.dashboardUserControl3.CurrentValue = frameB.GPS地速;

            this.directionDashboardUserControl1.d地速方向 = frameB.GPS地速方向;

            if (this.frameForm != null)
            {
                this.frameForm.BindFrameB(frameB);
            }
        }