forge-dataviz-iot-reference-app
forge-dataviz-iot-reference-app copied to clipboard
Add supports of adding/removing sensors.
Hi Team,
This PR includes the following changes:
- A
JsonDbSyntheticGateway
that uses lowdb to storeDeviceModels
andDevices
data in a local JSON DB and provides functions of adding/removingDevices
from the DB w/o restarting the app. - A
JsonDbRestApiDataAdapter
that supports adding/removingDevices
. - 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 whatPlayground
does.
Cheers,