• HTTP document
    Show / Hide Table of Contents
    • Login Interface
      • Explanation of terms
      • Login
      • Refresh Login
    • Write Data Process
      • Add FGate Group
      • Add FGate
      • Add Monitoring Group
      • Add Monitoring Point
      • Get FGate List
      • FGate Monitoring List
      • Write Monitoring Value
      • Get Monitoring Value
    • Information Access
      • Get Single FGate
      • Get Monitoring Group
      • Get Some monitoring Points
      • Get Monitoring Point by Group
      • Get Iccid、Imei
      • Get Location of FGate
    • Remote Download
      • Get FGate Drive List
      • Download FGate Drive
      • Get Register Type of Device
      • Get Server Drive List
    • Modification Interface
      • Modify FGate Group
      • Modify FGate Name
      • Modify Monitoring
      • Modify Refresh Interval
    • Delete Interface
      • Delete FGate Group
      • Delete FGate
      • Delete Monitoring Group
      • Delete Monitoring Point
    • Alarm Interface
      • Alarm Group
        • Get Alarm Group List
        • Add Alarm Group
        • Modify Alarm Group
        • Delete Alarm Group
      • Alarm Contact
        • Get Alarm Contact List
        • Get Single Alarm Contact
        • Add Alarm contact
        • Modify Alarm Contact
        • Delete Alarm Contact
      • Alarm Record
        • Get Alarm Entry List
        • Get Alarm Entry
        • Add Alarm Entry
        • Modify Alarm Entry
        • Delete Alarm Entry
        • Get Historical Alarm
        • Get Alarm Entry Status
        • Confirm Alarm
    • Historical Data
      • Get Historical Data List
      • Get Historical Data Entry
      • Add Historical Record
      • Update Historical Record
      • Delete Historical Data
      • Get Historical Data
    • Push Monitoring Data
      • Enable Monitoring Group
      • Disable Monitoring Group
      • Enable Monitoring Group List
      • Disable Monitoring Group List
      • Enable All Monitoring Points
      • Disable All Monitoring Points
      • Enable One Monitoring Point
      • Disable One Monitoring Point
      • Enable Some Monitoring Points
      • Disable Some Monitoring Points
      • Enable Some Monitoring Points
      • Enable One Monitoring Group
      • Enable Some Monitoring Groups
    • Data Push(SignalR)
      • Real-time Data Push(signalR)
      • Status Change Push
      • Real-time Data Push
      • Alarm Trigger
      • Alarm Restore
    • Write in Batch
      • Get Bacth Write Group
      • Write Value in Batch
    • Appendix
      • Appendix One
      • Appendix Two
      • Appendix Three
      • 429 Status Code

    Real-time Data Push

    Prerequisites: The box needs to call OpenFGateMonitoringPoint every time it comes online.

    Listening Method Name:dMonUpdateValue
    When the monitoring point data changes or when the open point is called, the server pushes the message.

    Parameter Correspondence

    Field Type Description
    boxSessionId int Currently can be ignored
    values JSON array Collection of monitoring point values, details of single attribute see the table below
    boxUid string Find it in Get FGate list interface: boxRegs->box->uid

    Corresponding Attributes in value

    Field Type Description
    id string Monitoring point entry UID
    name string Monitoring point name
    msg string Box serial number BoxNo
    value string Value, if the item is configured with decimal places, the program needs to convert it itself, the server does not do any intermediate processing
    status int If the item is normal, this attribute does not exist, 1: no data, 2: timeout, 3: error, 4: Socket exception, 5: FDS error, 16: incomplete
    t int Timestamp of the push (in UTC format (milliseconds), timestamp when the monitoring point data changes)
    gname string Group name

    Note: Status indicates the communication status between the monitoring point under the box and the PLC. When communicating with the PLC normally, the status value parsed by Json is 0.

    Back to top Generated by DocFX