Beispiel #1
0
        public override void ShowMessage(string message1, String message2)
        {
            Pepperl display = ((Pepperl)AllDevices.LidarAvoid);

            display.ShowMessage(message1, message2);
            display.SetFrequency(PepperlFreq.Hz50);
        }
Beispiel #2
0
        private void PagePepperl_Load(object sender, EventArgs e)
        {
            if (!Execution.DesignMode)
            {
                _lidar = (Pepperl)AllDevices.LidarAvoid;

                foreach (PepperlFreq f in Enum.GetValues(typeof(PepperlFreq)))
                {
                    cboFreq.Items.Add(f);
                }

                foreach (PepperlFilter f in Enum.GetValues(typeof(PepperlFilter)))
                {
                    cboFilter.Items.Add(f);
                }

                UpdateInfos();
            }
        }