#700 FIxes issue where ConfigWrite.UpdateDeviceConfig and UpdateRoomConfig do not write config to file

This commit is contained in:
Jason Alborough
2021-05-11 20:28:15 -04:00
parent da179c01f5
commit 5fc4ff6027
3 changed files with 10 additions and 16 deletions

View File

@@ -81,11 +81,9 @@ namespace PepperDash.Essentials.Devices.Common.Cameras
}
protected CameraBase(string key, string name) :
base (new DeviceConfig{Name = name, Key = key})
this (new DeviceConfig{Name = name, Key = key})
{
OutputPorts = new RoutingPortCollection<RoutingOutputPort>();
ControlMode = eCameraControlMode.Manual;
}
protected void LinkCameraToApi(CameraBase cameraDevice, BasicTriList trilist, uint joinStart, string joinMapKey,