|
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374 |
- module CCloseKellyCockLedNotification
- use COperationScenariosVariables
- implicit none
- contains
-
- subroutine Evaluate_CloseKellyCockLed()
- implicit none
-
-
- ! if (DriveType == TopDrive_DriveType) then
- !#ifdef OST
- ! print*, 'Evaluate_CloseKellyCockLed=TopDrive'
- !#endif
- ! endif
- !
- !
- !
- !
- !
- !
- !
- !
- !
- !
- ! if (DriveType == Kelly_DriveType) then
- !#ifdef OST
- ! print*, 'Evaluate_CloseKellyCockLed=Kelly'
- !#endif
- ! endif
-
-
- end subroutine
-
- ! subroutine Subscribe_CloseKellyCockLed()
- ! use CDrillingConsoleVariables
- ! implicit none
- ! call OnCloseKellyCockPress%Add(ButtonPress_CloseKellyCock)
- ! end subroutine
-
- subroutine ButtonPress_CloseKellyCock()
- implicit none
-
-
- if (Hoisting%DriveType == TopDrive_DriveType) then
- #ifdef OST
- print*, 'Evaluate_CloseKellyCockLed=TopDrive'
- #endif
- endif
-
- if (Hoisting%DriveType == Kelly_DriveType) then
- #ifdef OST
- print*, 'Evaluate_CloseKellyCockLed=Kelly'
- #endif
-
- !OPERATION-CODE=66
- if (Get_OperationCondition() == OPERATION_DRILL .and.&
- Get_CloseKellyCockLed() == .false. .and.&
- Get_OpenKellyCockLed()) then
- call Set_OpenKellyCockLed(.false.)
- call Set_CloseKellyCockLed(.true.)
- return
- end if
-
-
- endif
-
-
-
-
-
-
- end subroutine
-
- end module CCloseKellyCockLedNotification
|