DRAGroupUpdate Business Logic Tier (BLT)
- Last UpdatedApr 24, 2025
- 2 minute read
The DraGroupUpdate is a Business Logic Tier (BLT) that can be used to update a DraInjectorGroup. Using this BLT, we can enable or disable the Automatic Mode flag of a DraInjectorGroup. This BLT can be used to set a required flow rate range or reset the flow rate range to 0 for a DraInjectorGroup.
The following table details the input parameters for the DraInjectorGroup BLT.
|
Argument |
Type |
Description |
|
DraInjectorGroupID |
Integer |
This integer type is the ptnum for the DRALine that can be obtained from DRALine table in the RealTime (RTDB) database. |
|
changeAutomaticMode |
Boolean |
Boolean type can be set to True or False. If this field is set to True, it will enable or disable the DraInjectorGroup Automatic Mode field based on the value provided in automaticModeEnabled input. Note: When this field is set to true, changeFlowRate must not be provided in the input. If both are provided, you will receive an error message that reads: Only one update can be accomplished per request. |
|
automaticModeEnabled |
Boolean |
This will reset the Automatic Mode checkbox to enabled or disabled. This will work only if ChangeAutomaticMode field is set to True and changeFlowRate must not be mentioned. |
|
changeFlowRate |
Boolean |
The boolean type can be set to True or False when changeAutomaticMode is not provided in the input. If both are provided, you will receive an error message that reads: Only one update can be accomplished per request. |
|
flowRate |
Integer |
Refer the DRAFlowRateRange RealTime table to obtain the ptnum for the range required. Accordingly, the optional parameter will be passed to set the new flow rate range for the selected DRAInjectorGroup. Changing the flow rate at the level of the DRALineUpdate will override the value in the DRAGroupUpdate. |
The following table details the Output parameter for the DRALineUpdate BLT.
|
Argument |
Type |
Description |
|
Success |
Boolean |
Indicates whether the request has been successfully processed. |
|
Message |
String |
If the request could not be successfully processed, this field will contain a message indicating the reason for the processing failure. |
The DRAGroupUpdate BLT can be used to pass the required parameters. Consider the following example where the flow rate to is set to zero and automatic mode is disabled.
