forge-dataviz-iot-reference-app icon indicating copy to clipboard operation
forge-dataviz-iot-reference-app copied to clipboard

Add supports of adding/removing sensors.

Open yiskang opened this issue 2 years ago • 0 comments

Hi Team,

This PR includes the following changes:

  • A JsonDbSyntheticGateway that uses lowdb to store DeviceModels and Devices data in a local JSON DB and provides functions of adding/removing Devices from the DB w/o restarting the app.
  • A JsonDbRestApiDataAdapter that supports adding/removing Devices.
  • A viewer extension SensorManagerExtension to interact with the above w/o using React.js.
  • A new page SensorManage demonstrates the functionality of the above. It's similar to what Playground does.

Cheers,

yiskang avatar Jun 22 '22 09:06 yiskang