private void InitServices() { ControllerService = new ControllerService(this); RobotWareService = new RobotWareService(this); FileService = new FileService(this); SubscriptionService = new SubscriptionService(this); UserService = new UserService(this); }
public ControllerSession(string controllerIP, [Optional] UAS uas) { IP = controllerIP; UAS = uas ?? new UAS("Default User", "robotics"); ControllerService = new ControllerService(this); RobotWareService = new RobotWareService(this); FileService = new FileService(this); SubscriptionService = new SubscriptionService(this); UserService = new UserService(this); }