[jsxilinx]: Fixed bug in watertank sensor simulation logic