|
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869 |
- module CKellyEnum
- use OperationScenariosModule
- implicit none
- contains
-
- subroutine Evaluate_Kelly()
- !use UnitySignalsModule
- implicit none
-
-
- ! if (DriveType == TopDrive_DriveType) then
- !#ifdef OST
- ! print*, 'Evaluate_Kelly=TopDrive'
- !#endif
- ! endif
- !
- !
- !
- !
- !
- ! if (DriveType == Kelly_DriveType) then
- !#ifdef OST
- ! print*, 'Evaluate_Kelly=Kelly'
- !#endif
- ! endif
-
-
-
-
-
- ! if(OperationCondition == OPERATION_DRILL) then
- ! call Set_Kelly(INSTALL_KELLY)
- !#ifdef deb
- ! print*, 'KELLY=INSTALL_KELLY'
- !#endif
- ! endif
- ! if(OperationCondition == OPERATION_TRIP) then
- ! call Set_Kelly(KELLY_BACK)
- !#ifdef deb
- ! print*, 'KELLY=KELLY_BACK'
- !#endif
- ! endif
-
- end subroutine
-
- subroutine Subscribe_Kelly()
- implicit none
- !call OnOperationConditionChangeInt%Add(On_OperationCondition)
- end subroutine
- !
- ! subroutine On_OperationCondition(v)
- ! implicit none
- ! integer , intent(in) :: v
- ! if(v == OPERATION_DRILL) then
- ! call Set_Kelly(KELLY_INSTALL)
- !#ifdef deb
- ! print*, 'KELLY=INSTALL_KELLY'
- !#endif
- ! endif
- ! if(v == OPERATION_TRIP) then
- ! call Set_Kelly(KELLY_REMOVE)
- !#ifdef deb
- ! print*, 'KELLY=KELLY_BACK'
- !#endif
- ! endif
- !
- ! end subroutine
-
- end module CKellyEnum
|