Beispiel #1
0
        private void Button_Click_1(object sender, RoutedEventArgs e)
        {
            LedModel _ledModel = new LedModel();

            _ledModel.ComPort    = 3;
            _ledModel.BlockWidth = 40;
            _ledModel.LedMatrixIndicatorReadinessLOGO = "STE鈞耀科技測試用LOGO";
            _ledModel.Connect();
            _ledModel.Cleaner();
            _ledModel.Disconnect();
        }
Beispiel #2
0
        private bool _clear()
        {
            LedModel _ledModel = new LedModel();

            _ledModel.ComPort    = 3;
            _ledModel.BlockWidth = 40;
            _ledModel.LedMatrixIndicatorReadinessLOGO = "STE鈞耀科技測試用LOGO";
            _ledModel.Connect();
            _ledModel.Cleaner();
            _ledModel.Disconnect();
            return(true);
        }