1
0
Fork 0
Browse Source

update threshold for detecting a weld for factory1.

stable
Craig Oates 3 years ago
parent
commit
8dc91291c1
  1. 2
      src/EyesAndEars.UWP/EyesAndEars.UWP/Services/DataServices.cs

2
src/EyesAndEars.UWP/EyesAndEars.UWP/Services/DataServices.cs

@ -97,7 +97,7 @@ namespace EyesAndEars.UWP.Services {
*/
if (device == 1) {
if (reading > 0 && reading <= 38) // No weld detected.
if (reading > 0 && reading <= 39) // No weld detected.
return new SolidColorBrush(Colors.LightSeaGreen);
if (reading > 38) // Weld detected.
return new SolidColorBrush(Colors.DarkSeaGreen);