public CommunicationManager(IntAirAct.IAIntAirAct intAirAct, PairingRecognizer pairingRecognizer, MSELocator.LocatorInterface locator, PersonManager personManager) { this.intAirAct = intAirAct; this.pairingRecognizer = pairingRecognizer; this.locator = locator; this.personManager = personManager; // Pairing intAirAct.Route(Routes.RequestPairingRoute, new Action <IARequest, IAResponse>(UpdateDevicePairingState)); // Properties of Devices intAirAct.Route(Routes.GetOffsetAngleRoute, new Action <IARequest, IAResponse>(GetOffsetAngle)); intAirAct.Route(Routes.SetOrientationRoute, new Action <IARequest, IAResponse>(UpdateDeviceOrientation)); intAirAct.Route(Routes.SetLocationRoute, new Action <IARequest, IAResponse>(UpdateDeviceLocation)); // Locating Devices intAirAct.Route(Routes.GetDeviceInfoRoute, new Action <IARequest, IAResponse>(GetDevice)); intAirAct.Route(Routes.GetAllDeviceInfoRoute, new Action <IARequest, IAResponse>(GetDevices)); intAirAct.Route(Routes.GetNearestDeviceInViewRoute, new Action <IARequest, IAResponse>(GetNearestDeviceInView)); intAirAct.Route(Routes.GetAllDevicesInViewRoute, new Action <IARequest, IAResponse>(GetDevicesInView)); intAirAct.Route(Routes.GetNearestDeviceInRangeRoute, new Action <IARequest, IAResponse>(GetNearestDeviceInRange)); intAirAct.Route(Routes.GetAllDevicesInRangeRoute, new Action <IARequest, IAResponse>(GetDevicesInRange)); /* Depricated!!! * intAirAct.Route(Routes.GetAllDevicesWithIntersectionPointsRoute, new Action<IARequest, IAResponse>(GetDevicesWithIntersectionPoint)); */ }
public CommunicationManager(IntAirAct.IAIntAirAct intAirAct, PairingRecognizer pairingRecognizer, MSELocator.LocatorInterface locator, PersonManager personManager) { this.intAirAct = intAirAct; this.pairingRecognizer = pairingRecognizer; this.locator = locator; this.personManager = personManager; // Pairing intAirAct.Route(Routes.RequestPairingRoute, new Action<IARequest, IAResponse>(UpdateDevicePairingState)); // Properties of Devices intAirAct.Route(Routes.GetOffsetAngleRoute, new Action<IARequest, IAResponse>(GetOffsetAngle)); intAirAct.Route(Routes.SetOrientationRoute, new Action<IARequest, IAResponse>(UpdateDeviceOrientation)); intAirAct.Route(Routes.SetLocationRoute, new Action<IARequest, IAResponse>(UpdateDeviceLocation)); // Locating Devices intAirAct.Route(Routes.GetDeviceInfoRoute, new Action<IARequest, IAResponse>(GetDevice)); intAirAct.Route(Routes.GetAllDeviceInfoRoute, new Action<IARequest, IAResponse>(GetDevices)); intAirAct.Route(Routes.GetNearestDeviceInViewRoute, new Action<IARequest, IAResponse>(GetNearestDeviceInView)); intAirAct.Route(Routes.GetAllDevicesInViewRoute, new Action<IARequest, IAResponse>(GetDevicesInView)); intAirAct.Route(Routes.GetNearestDeviceInRangeRoute, new Action<IARequest, IAResponse>(GetNearestDeviceInRange)); intAirAct.Route(Routes.GetAllDevicesInRangeRoute, new Action<IARequest, IAResponse>(GetDevicesInRange)); /* Depricated!!! intAirAct.Route(Routes.GetAllDevicesWithIntersectionPointsRoute, new Action<IARequest, IAResponse>(GetDevicesWithIntersectionPoint)); */ }