Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- private RigStatus analisysStatusSlipRemoved( StatusWell currentStatus, ConfigWell configWell) {
- RigStatus rigStatus;
- if (currentStatus.getCirculationSystemStatus()){
- if (currentStatus.getWeigthOverBit() > configWell.getDepthTolerance()){
- if (Math.abs((currentStatus.getDepthWell() - currentStatus.getDepthTool())) <= configWell.getDepthTolerance()){
- if (currentStatus.getAlarmWeigthLoss()){
- rigStatus = RigStatus.OFFBOTTOM_WEIGHT_LOSS;
- }else{
- rigStatus = RigStatus.DRILLING;
- }
- }else if (currentStatus.getDepthTool() < configGeneralFacade.getConfigGeneral().getPipeWellLength()){
- rigStatus = RigStatus.ROTARING_CEMENT;
- }else{
- rigStatus = RigStatus.REPASANDO;
- }
- }else{
- rigStatus = RigStatus.CIRCULATING;
- }
- }else{
- rigStatus = RigStatus.OFFBOTTOM;
- }
- return rigStatus;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement