Virtual Record Generator¶
This stage generates new records based on the specified conditions. The functions of this stage include:
Generating required records by fixed triggering frequency (multiple frequency options).
Determining the dataset to be generated for the specific device and point, i.e.,
Map<assetId,Set<pointId>>
, based on the filtering conditions (such as model IDs and asset tags).Based on the above dataset, simulate triggering point data according to fixed technical frequency.
Configuration¶
The configuration tabs for this stage are General and Output.
General¶
Name |
Required? |
Description |
---|---|---|
Name |
Yes |
The name of the stage. |
Description |
No |
The description of the stage. |
Stage Library |
Yes |
The streaming operator library to which the stage belongs. |
On Record Error |
Yes |
The processing method for error data.
|
Output¶
Name |
Required? |
Description |
---|---|---|
Generate Type |
Yes |
Select the method to generate new records.
|
Trigger Frequency |
Yes |
Specify the triggering frequency for generating records. Options are:
|
Mode |
No |
When the By ModelIDs method is selected, specify the model ID. In the Output Point field, specify the measurement point for the generated data records, using the format {modelId}::{pointId}. |
AssetTag Key::Value |
No |
When the By Asset Tags method is selected, specify the asset tag key and value. In the Output Point field, specify the measurement point for the generated data records, using the format {modelId}::{pointId} or {pointId}. |
Output Point |
Yes |
Specify the measurement point for the generated data records, using the format {modelId}::{pointId}. |
Output Results¶
The output results of this stage are the generated records, which include the following:
Common fields (such as assetId, pointId, modelId, time, and value). The
value
field has no practical meaning, and its value is 0.