예제 #1
0
 public void BindFrameC(FrameC frame)
 {
     this.label_FrameC_z纵向模态_value.Text = frame.z纵向模态.ToString();
     this.label_FrameC_h横向模态_value.Text = frame.h横向模态.ToString();
     this.label_FrameC_d导航模态_value.Text = frame.d导航模态.ToString();
     this.label_FrameC_g故障标志字_value.Text = frame.g故障标志字.ToString().Substring("BitVector32{".Length + 32 - 8, 8);
     this.label_FrameC_k开关量标志字1_value.Text = frame.k开关量标志字1.ToString().Substring("BitVector32{".Length + 32 - 8, 8);
     this.label_FrameC_k开关量标志字2_value.Text = frame.k开关量标志字2.ToString().Substring("BitVector32{".Length + 32 - 8, 8);
     this.label_FrameC_h航向偏差_value.Text = frame.h航向偏差.ToString("F1");
     this.label_FrameC_h航段号_value.Text = frame.h航段号.ToString();
     this.label_FrameC_d待飞距离_value.Text = frame.d待飞距离.ToString("F1");
     this.label_FrameC_c侧偏距_value.Text = frame.c侧偏距.ToString("F1");
     this.label_FrameC_q气压高度_value.Text = frame.q气压高度.ToString("F1");
     this.label_FrameC_z指示空速_value.Text = frame.z指示空速.ToString("F1");
     this.label_FrameC_z真空速_value.Text = frame.z真空速.ToString("F1");
     this.label_FrameC_g高度给定_value.Text = frame.g高度给定.ToString();
     this.label_FrameC_g高度差_value.Text = frame.g高度差.ToString("F1");
     this.label_FrameC_GPS时_value.Text = frame.GPS时.ToString();
     this.label_FrameC_GPS分_value.Text = frame.GPS分.ToString();
     this.label_FrameC_GPS秒_value.Text = frame.GPS秒.ToString();
     this.label_FrameC_z帧计数_value.Text = frame.z帧计数.ToString();
 }
예제 #2
0
 private void BindFrameC(FrameC frameC)
 {
     if (this.frameForm != null)
     {
         this.frameForm.BindFrameC(frameC);
     }
 }