コード例 #1
0
        private void Button_Click(object sender, RoutedEventArgs e)
        {
            Vx520        device  = new Vx520();
            VentaService service = new VentaService(this, 100);

            device.ExecuteService(service);
        }
コード例 #2
0
 public MainPage()
 {
     this.InitializeComponent();
     // Configurar parametros por default
     Vx520.Config("COM3", 19200, Windows.Devices.SerialCommunication.SerialParity.None, Windows.Devices.SerialCommunication.SerialStopBitCount.One, 8);
 }