Update for ThermoCam reading

This commit is contained in:
Samuele Locatelli
2020-10-24 11:39:06 +02:00
parent cd1c87caa1
commit 8dfd2d4d23
3 changed files with 181 additions and 31 deletions
+8 -8
View File
@@ -498,17 +498,17 @@ namespace CMS_CORE_Library.Models
/// <summary>
/// Define if camera is active for channel
/// </summary>
public bool ThermocamActive { get; set; } = false;
public bool TCamActive { get; set; } = false;
/// <summary>
/// Actual value from last ThermoCam image acquisition (° Celsius)
/// Actual value from last ThermoCam image acquisition (1/10 ° Celsius)
/// </summary>
public double ThermocamActualTemp { get; set; } = 0;
public short TCamTempActual { get; set; } = 0;
/// <summary>
/// Setpoint from HMI (° Celsius)
/// Setpoint from HMI (1/10 ° Celsius)
/// </summary>
public byte ThermocamSetpoint { get; set; } = 0;
public short TCamTempSet { get; set; } = 0;
#endregion Properties
@@ -537,11 +537,11 @@ namespace CMS_CORE_Library.Models
return false;
if (SetpointPLC != item.SetpointPLC)
return false;
if (ThermocamActive != item.ThermocamActive)
if (TCamActive != item.TCamActive)
return false;
if (ThermocamActualTemp != item.ThermocamActualTemp)
if (TCamTempActual != item.TCamTempActual)
return false;
if (ThermocamSetpoint != item.ThermocamSetpoint)
if (TCamTempSet != item.TCamTempSet)
return false;
return true;