protected override void AddRequestHandlers() { RequestDict.Add(BluetoothCommands.Start, new BluetoothRequestStart()); RequestDict.Add(BluetoothCommands.Image, new BluetoothRequestImage()); RequestDict.Add(BluetoothCommands.Status, new BluetoothRequestStatus()); var tmpHandler = new BluetoothRequestTrack(); RequestDict.Add(BluetoothCommands.TrackLine, tmpHandler); RequestDict.Add(BluetoothCommands.TrackTurn, tmpHandler); RequestDict.Add(BluetoothCommands.TrackArcLeft, tmpHandler); RequestDict.Add(BluetoothCommands.TrackArcRight, tmpHandler); }
protected override void AddRequestHandlers() { RequestDict.Add(HttpClient.ReturnReport, new HttpRequest()); }