...
TQLEngine platform provide mechanisms to easily address above device management requirements.
Bulk Initialization Design
...
Pattern
At the time of writing this tutorial Atomiton TQLEngine does not provide specific language constructs to perform bulk initialization of Things or Data. But the existing Atomic domain languages capabilities can be exploited to achieve bulk initialization requirements. The bulk initialization design patterns pattern can be classified as followsbroken down into two steps:
Pattern Step # | Name | Description | Use CasesOutput | Implementation Flow | |||
---|---|---|---|---|---|---|---|
1 | @ThingFacet Level | Seamless integration within the attribute's associate action |
| JavaScript to capture simulation logicGather Metadata | Input to gathering of metadata step can be:
| The output of gathering metadata step could be:
|
|
2 | @ThingFacet Level | Separate Action to start the simulation | Initialize | Initialize step is where we load the data into TQLEngine. Metadata gathered from step-1 serves as input to initialize. This steps has to be repeatable. |
|
|
Bulk Initialization Steps:
Simulating Temperature Sensor
...