Re: sensors fun..




On 18/10/2007, at 2:45 AM, John Baldwin wrote:

[Trying to redirect this off cvs-all & friends.. ]

So as I said previously, I thought about this some more offline last night /
this morning and looked at the code some and here are my thoughts:

Things I like about the current sensors code:

- I like the actual sensor object used to represent a sensor. It has a few
basic things like a string for a name, a type (I would have just done
a "units" for the value, but the type is basically that), and a basic alarm
state. (I might have done 4 states, think green, yellow, orange, red mapped
to good, warning, critical, bad. However, the 3 states in the current code
is fine. 4 states might be overkill.)

Perhaps an "unknown" state would be useful for those times when things aren't going quite right.


_______________________________________________
freebsd-arch@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-arch
To unsubscribe, send any mail to "freebsd-arch-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: Specialist Subject - The Bleedin Obvious
    ... > The only ones I know anything about are the FOG ones. ... > sensor bit, and this triggers a false fog warning. ... painted doo-dads that have a hooded thingy pointing at a little box ...
    (uk.rec.motorcycles)
  • Re: Brake warning light
    ... I've disconnected the plug from the fluid sensor and the light stays on. ... I don't know if the warning light is for problems other than the fluid level, if not then maybe the warning system itself is faulty. ...
    (uk.rec.cars.4x4)
  • Re: Brake warning light
    ... I've disconnected the plug from the fluid sensor and the light stays on. ... I don't know if the warning light is for problems other than the fluid level, if not then maybe the warning system itself is faulty. ...
    (uk.rec.cars.4x4)
  • Re: E34 Coolant Level Warning
    ... changed the sensor with the float - still get the warning and the sensor was tested to be sure it worked. ... I need to replace the driver's side mirror and according to the Bentley manual, there is an access slot under the mirror which I don't see, so I assume the cover comes off to gain access. ...
    (alt.autos.bmw)
  • Temp Sensor
    ... slightly due to sand/shell build up in the cooling system. ... I'm wondering if the HI TEMP warning is because it was overheated last ... Or is the warning showing the current condition, ie the sensor is ...
    (rec.sport.jetski)