Skip to main content
Version: 4.2

Data Write Back

You can send and display the data you defined on the supOS platform to third party gateways through datalink and reports used during APP development.

info

Make sure the gateway is set to Read&Write.

  1. Log in to supOS, and then click at the upper-right corner to go to the design center.
  2. Select Object Model Management > Object Instance.
  3. Select an object template, and then click New on the right to add an instance.
  4. In the Attributes tab, click New to add an attribute under My Attributes.
  5. Select the third party gateway as the data source, and set the Read and Write Status of the object attribute to Read and Write.
  1. Select Business Designer on the design center, and then add a data connection element to an APP canvas with the added object attribute as data source.
  2. Go to the operation center, hover over the data connection control, and then on the data detail window, click next to the value.
  1. Enter a value in the pop-up window, and then click Confirm.

Writing through Report

  1. Log in to supOS, and then click at the upper-right corner to go to the design center.
  2. Select Object Model Management > Object Instance.
  3. Select an object template, and then click New on the right to add an instance.
  4. In the Attributes tab, click New to add an attribute under My Attributes.
  5. Select the third party gateway as the data source, and set the Read and Write Status of the object attribute to Read and Write.
  1. Select Business Designer on the design center, add a report control to an APP canvas and set its attributes.
      1. Select the report, and then enable Run Edit under Property on the right side.
      2. Double-click the report, and then select > Object Model on the right side under Data Source Management.
      3. Select the attributes of the added object instance.
      1. Drag a piece of data from the data source list to a cell, and then set Data Type to Real-time Data on the right side under Property Configuration.
      1. Select the cell and then grant read&write permission to roles.
  1. Add a button next to the report, change its name to Save and add a click event to the button and write corresponding script.
  1. Go to the operation center, double-click the report to change its content, and then click Save to send the data to equipment.
info

Make sure the gateway is set to Read&Write.