public void recievePacketBicycleCommand(PacketBicycleCommand command)
 {
     this.client.reader.sendCommand(command.command);
 }
 public void receivePacketBicycleCommand(PacketBicycleCommand packetBicycleCommand)
 {
     _server.sendPacketToClient(packetBicycleCommand, packetBicycleCommand.destinationID);
     Console.WriteLine("Sent Command Pack to client");
 }
Esempio n. 3
0
 private void SetButton_Click(object sender, EventArgs e)
 {
     PacketBicycleCommand pw = new PacketBicycleCommand($"PW {PowerTB.Text}", panel.id.Id);
     connection.writePacket(pw);
     Hide();
 }
 public void recievePacketBicycleCommand(PacketBicycleCommand command)
 {
     //N.V.T in de monitor
     //this.client.sendCommand(command.command);
 }