public async Task SendAsync(byte[] data) { await _topPort.SendAsync(data); }
private async void Form1_MouseDoubleClick(object sender, MouseEventArgs e) { await parsedPort.SendAsync(new byte[] { 0x01, 0x03, 0x10, 0x02, 0x00, 0x04, 0xE1, 0x09 }); }
public async Task SendAsync(byte[] data) { await _topPort.SendAsync(data); }
private async void Form1_MouseDoubleClick(object sender, MouseEventArgs e) { await parsedPort.SendAsync(new byte[] { 0x01, 0x03, 0x10, 0x02, 0x00, 0x04, 0xE1, 0x09 }); }