Exemplo n.º 1
0
        private void CreateSencor()
        {
            if (lmc301 == null)
            {
                lmc301 = new LMCSensor();
            }

            lmc301.CreatePort(comboBox1.Text);
        }
Exemplo n.º 2
0
        /// <summary>
        /// 构造器
        /// </summary>
        /// <param name="agPortName"></param>
        /// <param name="lsPoatName"></param>
        public BaseMeas(LMCLaserSensor.LMCSensor lsSensor, BladePitchAngle.CompassModule agSensor)
        {
            lmc301 = lsSensor;

            cm = agSensor;
        }