private void Button_Click(object sender, RoutedEventArgs e) { Vx520 device = new Vx520(); VentaService service = new VentaService(this, 100); device.ExecuteService(service); }
public MainPage() { this.InitializeComponent(); // Configurar parametros por default Vx520.Config("COM3", 19200, Windows.Devices.SerialCommunication.SerialParity.None, Windows.Devices.SerialCommunication.SerialStopBitCount.One, 8); }