예제 #1
0
        private void RefreshInformation()
        {
            pralgthHelper = new PriAlgorithmHelper();//数据操作类
            RemoveTipBean rtb = pralgthHelper.RemoveStepJumpTip(datain, dataselect, DataProcessMethod.RemoveJump, num_simple, lr);

            this.richTxtboxNote.Text  = rtb.Tip;
            this.lbExpectOffsetV.Text = rtb.Offset.ToString();
            this.radioGroup.Properties.Items[0].Description = rtb.BothAve;
            this.radioGroup.Properties.Items[1].Description = rtb.LeftAve;
            this.radioGroup.Properties.Items[2].Description = rtb.RightAve;
        }
예제 #2
0
        private void RefreshInformation()
        {
            string selectexStr = this.radioGroup.Properties.Items[this.radioGroup.SelectedIndex].ToString();

            if (selectexStr == string.Empty)
            {
                return;
            }
            pralgthHelper = new PriAlgorithmHelper();
            int           num_simple = int.Parse(this.spinEditAvgSimpling.Text);
            RemoveTipBean rtb        = pralgthHelper.RemoveStepJumpTip(datain, dataselect, DataProcessMethod.RemoveStep, num_simple, selectexStr.Contains("消除左侧") ? Left_Right.left : Left_Right.right);

            this.richTxtboxNote.Text  = rtb.Tip;
            this.lbExpectOffsetV.Text = rtb.Offset.ToString();
            this.radioGroup.Properties.Items[0].Description = rtb.LeftAve;
            this.radioGroup.Properties.Items[1].Description = rtb.RightAve;
            this.lbDataCount.Text = selectexStr.Contains("消除左侧") ? "左侧" + rtb.Totaleft.ToString() + "个" : "右侧" + rtb.Totalright.ToString() + "个";
        }