Esempio n. 1
0
 private PiBroker(ICameraClient cameraClient, IBrowserClient browserClients)
 {
     Camera = cameraClient;
     Browsers = browserClients;
     ServerSettings = new ServerSettings {JpegCompression= 90};
     PiSettings = new PiSettings {TransmitImagePeriod = TimeSpan.FromMilliseconds(200)};
 }
Esempio n. 2
0
 public void UpdatePi(PiSettings settings)
 {
     PiSettings = settings;
     Camera.UpdateSettings(PiSettings);
 }
Esempio n. 3
0
 public void UpdateSettings(PiSettings settings)
 {
     _clients.All.updateSettings(settings);
 }