You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- # 1 "/mnt/c/Projects/VSIM/SimulationCore2/CSharp/OperationScenarios/Permissions/CSwingOffPermission.f90"
- module CSwingOffPermission
- use OperationScenariosModule
- implicit none
-
- contains
-
- subroutine Evaluate_SwingOffPermission()
- implicit none
-
-
- if (data%Configuration%Hoisting%DriveType == TopDrive_DriveType) then
- # 14
-
-
-
-
- !TOPDRIVE-CODE=35
- if (Get_TdsElevatorModes() == TDS_ELEVATOR_CONNECTION_NOTHING .and.&
- Get_TdsConnectionModes() == TDS_CONNECTION_NOTHING .and.&
- Get_TdsSwing() == TDS_SWING_TILT_END .and.&
- Get_Slips() == SLIPS_SET_END .and.&
- data%Equipments%TopDrivePanel%TopDriveTdsPowerState /= TdsPower_OFF) then
-
- call Set_SwingOffPermission(.true.)
- return
- end if
-
-
-
-
- !TOPDRIVE-CODE=36
- if (Get_TdsElevatorModes() == TDS_ELEVATOR_CONNECTION_NOTHING .and.&
- Get_TdsConnectionModes() == TDS_CONNECTION_NOTHING .and.&
- Get_TdsSwing() == TDS_SWING_DRILL_END .and.&
- data%Equipments%TopDrivePanel%TopDriveTdsPowerState /= TdsPower_OFF) then
-
- call Set_SwingOffPermission(.true.)
- return
- end if
-
-
-
- call Set_SwingOffPermission(.false.)
-
- endif
-
-
-
-
-
-
-
-
- ! if (DriveType == Kelly_DriveType) then
- !#ifdef OST
- ! print*, 'Evaluate_SwingOffPermission=Kelly'
- !#endif
- ! endif
-
- end subroutine
-
- subroutine Subscribe_SwingOffPermission()
- implicit none
- end subroutine
-
- end module CSwingOffPermission
|