Modfified IQS_HGCV_ALARM Nica order trigger to not also check for active CHANGEOVER orders before triggering
This commit is contained in:
@ -149,8 +149,7 @@ WRITE_RECORD:
|
||||
ModeUser = @User4
|
||||
end
|
||||
CurrActiveHgCVOrders = Nica_Orders_Services('GetActiveOrders', 'REACTOR', Name, 'IQS_HGCV_ALARM')
|
||||
CurrActiveProveInOrders = Nica_Orders_Services('GetActiveOrders', 'REACTOR', Name, 'CHANGEOVER')
|
||||
OrderTypeAlreadyActive = ( (CurrActiveHgCVOrders NE '') or (CurrActiveProveInOrders NE '') )
|
||||
OrderTypeAlreadyActive = (CurrActiveHgCVOrders NE '')
|
||||
If Not(OrderTypeAlreadyActive) then
|
||||
// Only create an order and change the mode if there is not already an active IQS_HGCV_ALARM order
|
||||
OrderResponse = Nica_Orders_Services('CreateNewOrder', 'REACTOR', Name, 'IQS_HGCV_ALARM')
|
||||
@ -228,5 +227,3 @@ Restore_System_Variables:
|
||||
|
||||
return
|
||||
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user