Home Back

Signal

Signal

Description

Signal object is used both to GET and POST Place Status.

JSON

"Signal":
{
    "SignalType": %integer%,      /* http://placesign.com/Developers/Reference/Type/SignalType/ */
    "Values":
    [
        {
            "DataType": %integer%,          /* http://placesign.com/Developers/Reference/Type/DataType/ */
            "OptionIDs": [%integer%],       /* http://placesign.com/Developers/Reference/Type/OptionID/ */
            "SignalValueType": %integer%,   /* http://placesign.com/Developers/Reference/Type/SignalValueType/ */
            "UnitType": %integer%,          /* http://placesign.com/Developers/Reference/Type/UnitType/ */
            "Value": "%string[256??]%"
        }
    ],
    "Groups":
    [
        {
            "SignalGroupType": %integer%,      /* http://placesign.com/Developers/Reference/Type/SignalGroupType/ */
            "SignalValues": [{%object%}],
            "SignalCells":
            [
                {
                    "Type": %integer%,      /* http://placesign.com/Developers/Reference/Type/SignalCellType/ */
                    "Values": [{%object%}],
                }
            ]
        }
    ],
    "ElementContext":               /* http://placesign.com/Developers/Reference/Object/ElementContext/ */
    {
        "Revision": %integer%,      /* http://placesign.com/Developers/Reference/Type/Revision/ */
        "Source": {%object%}        /* http://placesign.com/Developers/Reference/Object/Resource/ */
    }
}