Yokogawa Interview Question

how does a thermostat work???