public IActionResult SetMode(Guid actuatorId, [FromBody] GrowthLightAutomatedSettings automatedSettings) { this._growthLightService.SetAutomatedSettings(actuatorId, automatedSettings); return(this.Ok()); }
public GrowthLightConfig(GrowthLightSettingMode mode, GrowthLightAutomatedSettings automatedSettings, GrowthLightManualSettings manualSettings) { this.Mode = mode; this.AutomatedSettings = automatedSettings; this.ManualSettings = manualSettings; }