public IotController(ILogger<IotController> logger, ICloudService cloudService, IIotService iotService, ICacheService cacheService, IUserService userService, IIotWsClient wsClient, IIotClient client) { this.logger = logger; this.cloudService = cloudService; this.iotService = iotService; this.cacheService = cacheService; this.userService = userService; this.client = client; this.wsClient = wsClient; }
/// <summary> /// Initializes a new instance of the MainViewModel class. /// </summary> public MainViewModel(IIotClient client) { Client = client; Pins = new ObservableCollection <Pin>(); }