Extend ClientAPI fields

Forum Home Forums New Ideas Extend ClientAPI fields

Tagged: 

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #3388
    Cubix
    Participant

    Hello

    Thank you for great software. ClientAPI supports some fields for ControlNumber but more fields are need like AlarmHi and AlarmLo to scale trends and gauges. I recommend expansion of ClientAPI fields. My test result is below:
    {“d”:”{\”Success\”:true,\”ErrorMessage\”:\”\”,\”Data\”:[{\”CnlNum\”:201,\”Val\”:191.63715375571994,\”Stat\”:14,\”Text\”:\”191.64\”,\”TextWithUnit\”:\”191.64\”,\”Color\”:\”Orange\”},{\”CnlNum\”:202,\”Val\”:-9.91821252682712E-07,\”Stat\”:1,\”Text\”:\”0.00\”,\”TextWithUnit\”:\”0.00\”,\”Color\”:\”Black\”},{\”CnlNum\”:203,\”Val\”:32,\”Stat\”:1,\”Text\”:\”32\”,\”TextWithUnit\”:\”32\”,\”Color\”:\”Black\”}]}”}

    I study source code but cannot find namespace definition for ClientAPI. Please help me to find it. I will then attempt to add more fields and post code.

    Thank you

    • This topic was modified 6 years ago by Cubix.
    #3393
    Mikhail
    Moderator

    Hi,

    Thank you!

    like AlarmHi and AlarmLo to scale trends and gauges

    You can use Stat field to realize where values are too high or too low. Or you mean something else?

    find namespace definition for ClientAPI

    If you talk about JavaScript namespace, it is here. Service implementation is here.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.