Update for ThermoCam reading
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user