|
1234567891011121314151617181920212223242526272829303132333435363738394041 |
- # 1 "/home/admin/SimulationCore2/CSharp/OperationScenarios/UnitySignals/CTdsBackupClamp.f90"
- module CTdsBackupClamp
- use OperationScenariosModule
- implicit none
- contains
-
- subroutine Evaluate_TdsBackupClamp()
- implicit none
-
- if (data%Configuration%Hoisting%DriveType == TopDrive_DriveType) then
-
- !TOPDRIVE-CODE=79
- if(Get_TdsBackupClamp() == BACKUP_CLAMP_OFF_END .and.&
- data%Equipments%TopDrivePanel%TopDriveTdsPowerState /= TdsPower_OFF .and.&
- data%Equipments%TopDrivePanel%TopDriveTorqueWrench) then
- call Set_TdsBackupClamp(BACKUP_CLAMP_FW_BEGIN)
- endif
-
- !TOPDRIVE-CODE=80
- if(Get_TdsBackupClamp() /= BACKUP_CLAMP_OFF_END .and.&
- Get_TdsBackupClamp() /= BACKUP_CLAMP_OFF_BEGIN .and.&
- data%Equipments%TopDrivePanel%TopDriveTdsPowerState /= TdsPower_OFF .and.&
- data%Equipments%TopDrivePanel%TopDriveTorqueWrench == .false.) then
- call Set_TdsBackupClamp(BACKUP_CLAMP_OFF_BEGIN)
- endif
- endif
-
- ! if (data%Configuration%Hoisting%DriveType == Kelly_DriveType) then
- ! if(print_log) print*, 'Evaluate_TdsBackupClamp=Kelly'
- ! endif
-
- end subroutine
-
- subroutine Subscribe_TdsBackupClamp()
- use CDrillingConsoleVariables
- use SimulationVariables
- use SimulationVariables
- implicit none
- end subroutine
-
- end module CTdsBackupClamp
|