#575 Query - should kind of weatherCond tag be "Str" ?

Pun Mum Mon 15 Jan 2018

Hi,

Kind of weatherCond tag is Marker. Explanation says - Used with a Str enum point to enumerate conditions with one of the defined string values like "unknown", "clear", "cloudy", etc.

In this case I think weatherCond tag should be of kind "Str" rather than "Marker".

This would then become similar to other status tags like curStatus having Str kind.

Please let me know if I am missing anything.

Thanks

Brian Frank Mon 15 Jan 2018

Two separate concepts:

  • tags added to the point to model what the point measures/controls
  • the point's "value" which would show up in a hisRead or as curVal tag

The weatherCond tag is a marker to indicate what the point models.

The enumerated values are what you would expect to see in curVal or as the values of a history read.

Another example is that temp is a marker tag. But the curVal of the point would expected to be a Number in degF or degC

Pun Mum Tue 16 Jan 2018

Thanks Brian. I had thought I am missing something. Thanks for clarification.

Login or Signup to reply.