private void bReadInputRegisters_Click(object sender, EventArgs e) { service.Modbus_ReadInputRegisters(ushort.Parse(tbStartAddress.Text), ushort.Parse(tbRegisterCount.Text)); }