Skip to content

Fix bug not getting convert factor for question channel

Lan Dam requested to merge i152_151_149_masspos_conversion into master

closes #152 (closed), #151 (closed), #149 (closed)

For channel that end with question mark '?' in DB, the '?' represent for a number in real channel. Ex: VM1, VM2 in DB is VM?

This MR fix the bug that not able to get the correct conversion factor for that kind of channels.

This also correct conversion factor for Centaur in DB from 0.001 to 0.000001:

UPDATE Channels SET convertFactor=0.000001 WHERE dataType='Centaur' AND channel='VM?'

Merge request reports