Updates ThermalSensor. I am still not entirely sure what the passed PoolVariableIF is. Also, getting the validity from the variable might require reading it first for the new local data pool implementation. The PoolVariableIF already implemented the ReadCommitIF so maybe it would be okay if the variable is simply read before getting the valid state.
Updates `ThermalSensor`. I am still not entirely sure what the passed PoolVariableIF is. Also, getting the validity from the variable might require reading it first for the new local data pool implementation. The `PoolVariableIF` already implemented the `ReadCommitIF` so maybe it would be okay if the variable is simply read before getting the valid state.
is not really necessary besides the type deduction. We can get the current value by reading it directly. Overall this class is very complicated with the additional monitor which reads the value again. Maybe we should rewrite that stuff to the new update messages (or snapshot messages) and use a monitor which does not read again.
For SOURCE and EIVE the way temperatures are read are different than FLP (FLP gets its analog values for all temp sensors from the PCDU) so this might also change this class in way that it is more general.
To me it looks like
```
T *inputTemperature
```
is not really necessary besides the type deduction. We can get the current value by reading it directly. Overall this class is very complicated with the additional monitor which reads the value again. Maybe we should rewrite that stuff to the new update messages (or snapshot messages) and use a monitor which does not read again.
For SOURCE and EIVE the way temperatures are read are different than FLP (FLP gets its analog values for all temp sensors from the PCDU) so this might also change this class in way that it is more general.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Updates
ThermalSensor. I am still not entirely sure what the passed PoolVariableIF is. Also, getting the validity from the variable might require reading it first for the new local data pool implementation. ThePoolVariableIFalready implemented theReadCommitIFso maybe it would be okay if the variable is simply read before getting the valid state.To me it looks like
is not really necessary besides the type deduction. We can get the current value by reading it directly. Overall this class is very complicated with the additional monitor which reads the value again. Maybe we should rewrite that stuff to the new update messages (or snapshot messages) and use a monitor which does not read again.
For SOURCE and EIVE the way temperatures are read are different than FLP (FLP gets its analog values for all temp sensors from the PCDU) so this might also change this class in way that it is more general.
@@ -65,2 +63,2 @@* @param datapoolId Datapool ID of the output temperature* @param outputSet Output dataset for the output temperature to fetch it with read()* @param setObjectid objectId of the sensor object* @param inputValue Pointer to input value which is converted to a temperatureComments outdated