예제 #1
0
        private void Btn_Open_Click(object sender, RoutedEventArgs e)
        {
            var dev  = cmb_Dev.Text.ToString().ToEnum <ePWRTYPE>();
            var port = cmb_Port.Text.ToString().ToEnum <ePWR_PortName>();

            _ctrl.Pwr_Open(dev, port);
        }