|
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171 |
- module CDrillWatch
- use CDrillWatchVariables
- !use CSimulationVariables
- implicit none
- public
- contains
-
- ! Input routines
-
- ! Output routines
-
- real(8) function GetDepth()
- !DEC$ ATTRIBUTES DLLEXPORT :: GetDepth
- !DEC$ ATTRIBUTES ALIAS: 'GetDepth' :: GetDepth
- implicit none
- GetDepth = Depth
- !GetDepth = Depth + 10 + SimulationTime
- end function
-
- real(8) function GetBitPosition()
- !DEC$ ATTRIBUTES DLLEXPORT :: GetBitPosition
- !DEC$ ATTRIBUTES ALIAS: 'GetBitPosition' :: GetBitPosition
- implicit none
- GetBitPosition = BitPosition
- !GetBitPosition = BitPosition + 20 + SimulationTime
- end function
-
- real(8) function GetHookLoadD()
- !DEC$ ATTRIBUTES DLLEXPORT :: GetHookLoadD
- !DEC$ ATTRIBUTES ALIAS: 'GetHookLoadD' :: GetHookLoadD
- implicit none
- GetHookLoadD = HookLoad
- !GetHookLoadD = HookLoad + 30 + SimulationTime
- end function
-
- real(8) function GetWeightOnBit()
- !DEC$ ATTRIBUTES DLLEXPORT :: GetWeightOnBit
- !DEC$ ATTRIBUTES ALIAS: 'GetWeightOnBit' :: GetWeightOnBit
- implicit none
- GetWeightOnBit = WeightOnBit
- !GetWeightOnBit = WeightOnBit + 40 + SimulationTime
- end function
-
- real(8) function GetRPM()
- !DEC$ ATTRIBUTES DLLEXPORT :: GetRPM
- !DEC$ ATTRIBUTES ALIAS: 'GetRPM' :: GetRPM
- implicit none
- GetRPM = RPM
- !GetRPM = RPM + 50 + SimulationTime
- end function
-
- real(8) function GetROP2()
- !DEC$ ATTRIBUTES DLLEXPORT :: GetROP2
- !DEC$ ATTRIBUTES ALIAS: 'GetROP2' :: GetROP2
- implicit none
- GetROP2 = ROP
- !GetROP2 = ROP + 60 + SimulationTime
- end function
-
- real(8) function GetTorque()
- !DEC$ ATTRIBUTES DLLEXPORT :: GetTorque
- !DEC$ ATTRIBUTES ALIAS: 'GetTorque' :: GetTorque
- implicit none
- GetTorque = Torque
- !GetTorque = Torque + 70 + SimulationTime
- end function
-
- real(8) function GetPumpPressureD()
- !DEC$ ATTRIBUTES DLLEXPORT :: GetPumpPressureD
- !DEC$ ATTRIBUTES ALIAS: 'GetPumpPressureD' :: GetPumpPressureD
- implicit none
- GetPumpPressureD = PumpPressure
- !GetPumpPressureD = PumpPressure + 80 + SimulationTime
- end function
-
- real(8) function GetSPM1()
- !DEC$ ATTRIBUTES DLLEXPORT :: GetSPM1
- !DEC$ ATTRIBUTES ALIAS: 'GetSPM1' :: GetSPM1
- implicit none
- GetSPM1 = SPM1
- !GetSPM1 = SPM1 + 90 + SimulationTime
- end function
-
- real(8) function GetSPM2()
- !DEC$ ATTRIBUTES DLLEXPORT :: GetSPM2
- !DEC$ ATTRIBUTES ALIAS: 'GetSPM2' :: GetSPM2
- implicit none
- GetSPM2 = SPM2
- !GetSPM2 = SPM2 + 100 + SimulationTime
- end function
-
- ! real(8) function GetSPM3()
- !!DEC$ ATTRIBUTES DLLEXPORT :: GetSPM3
- !!DEC$ ATTRIBUTES ALIAS: 'GetSPM3' :: GetSPM3
- ! implicit none
- ! GetSPM3 = SPM3
- !end function
-
- real(8) function GetCasingPressureD()
- !DEC$ ATTRIBUTES DLLEXPORT :: GetCasingPressureD
- !DEC$ ATTRIBUTES ALIAS: 'GetCasingPressureD' :: GetCasingPressureD
- implicit none
- GetCasingPressureD = CasingPressure
- !GetCasingPressureD = CasingPressure + 110 + SimulationTime
- end function
-
- real(8) function GetPercentFlow()
- !DEC$ ATTRIBUTES DLLEXPORT :: GetPercentFlow
- !DEC$ ATTRIBUTES ALIAS: 'GetPercentFlow' :: GetPercentFlow
- implicit none
- GetPercentFlow = PercentFlow
- !GetPercentFlow = PercentFlow + 120 + SimulationTime
- end function
-
- real(8) function GetPitGainLose()
- !DEC$ ATTRIBUTES DLLEXPORT :: GetPitGainLose
- !DEC$ ATTRIBUTES ALIAS: 'GetPitGainLose' :: GetPitGainLose
- implicit none
- GetPitGainLose = PitGainLose
- !GetPitGainLose = PitGainLose + 130 + SimulationTime
- end function
-
- real(8) function GetPitVolume()
- !DEC$ ATTRIBUTES DLLEXPORT :: GetPitVolume
- !DEC$ ATTRIBUTES ALIAS: 'GetPitVolume' :: GetPitVolume
- implicit none
- GetPitVolume = PitVolume
- !GetPitVolume = PitVolume + 140 + SimulationTime
- end function
-
- real(8) function GetKillMudVolume()
- !DEC$ ATTRIBUTES DLLEXPORT :: GetKillMudVolume
- !DEC$ ATTRIBUTES ALIAS: 'GetKillMudVolume' :: GetKillMudVolume
- implicit none
- GetKillMudVolume = KillMudVolume
- !GetKillMudVolume = KillMudVolume + 150 + SimulationTime
- end function
-
- real(8) function GetTripTankVolume()
- !DEC$ ATTRIBUTES DLLEXPORT :: GetTripTankVolume
- !DEC$ ATTRIBUTES ALIAS: 'GetTripTankVolume' :: GetTripTankVolume
- implicit none
- GetTripTankVolume = TripTankVolume
- !GetTripTankVolume = TripTankVolume + 160 + SimulationTime
- end function
-
- real(8) function GetMudWeightInD()
- !DEC$ ATTRIBUTES DLLEXPORT :: GetMudWeightInD
- !DEC$ ATTRIBUTES ALIAS: 'GetMudWeightInD' :: GetMudWeightInD
- implicit none
- GetMudWeightInD = MudWeightIn
- !GetMudWeightInD = MudWeightIn + 170 + SimulationTime
- end function
-
- real(8) function GetFillVolume()
- !DEC$ ATTRIBUTES DLLEXPORT :: GetFillVolume
- !DEC$ ATTRIBUTES ALIAS: 'GetFillVolume' :: GetFillVolume
- implicit none
- GetFillVolume = FillVolume
- !GetFillVolume = FillVolume + 180 + SimulationTime
- end function
-
- real(8) function GetMudWeightOutD()
- !DEC$ ATTRIBUTES DLLEXPORT :: GetMudWeightOutD
- !DEC$ ATTRIBUTES ALIAS: 'GetMudWeightOutD' :: GetMudWeightOutD
- implicit none
- GetMudWeightOutD = MudWeightOut
- !GetMudWeightOutD = MudWeightOut + 190 + SimulationTime
- end function
-
- end module CDrillWatch
|