<span><span>Have a pre-plan. Before you begin the large job, have the maintenance planner sit down with all of the personnel who were members of the work team the last time the job was done, or at least as many of them as are available. The planner should write out the steps the way they are remembered. This plan—sketchy though it may be—will form the outline of the upcoming job.</span><span>Photograph the job. The importance of this step is paramount. Even a well-written job plan can be misread or misunderstood. A photograph, however, speaks for itself. If you have the equipment and personnel, videotaping the procedure is even better. The supervisor is not a good choice for this role, because he/she needs to be supervising. If the reliability engineer is not available, perhaps the scheduler or the clerk can pitch in. Another idea is to enlist the aid of an employee who has been assigned to restricted duty.</span><span>Write it down. The maintenance planner should be the one to write down the action step-by-step, beginning with the safe lockout of the machine. This individual should assume that he/she is writing the procedure for someone who is a total stranger to the plant and the machines—and that the written procedure will ensure that this imaginary person can successfully complete the job. The planner should be looking not only at what currently is being done, but also for ways to improve on the procedure (including ways the job can go more smoothly in the future). He/she also should be sure to record the number of man hours associated with each step, from kitting the job right on down to cleanup.</span><span>Write out a complete parts list. This list should be as comprehensive as possible, down to the numbers and grades of the nuts, bolts and washers that are needed. Lead times for special-order or fabricated parts should be noted.</span><span><span>Write out a complete supplies, tools and experts list. </span>If special jigs or stands are made for the job, they should be noted on the SMP, including where they are stored. Have there been shortages of special welding rods or bottled gas? Jacks, cranes and special tools also should be noted. What about consultants or factory reps? If they were present last time, chances are they will be needed next time. Does an operator need to be present? Will it be desirable to have predictive maintenance personnel available to take readings for baselines after the job is completed?</span><span><span>Include drawings and diagrams. </span>Any tool, document or image that can help the technician as he/she is performing the job should be available.</span></span>
Answer:
import java.io.*;
public class Main
{
public static void main(String[] args) throws IOException {
BufferedReader bufferObject=new BufferedReader(new InputStreamReader(System.in));
String stringObject=bufferObject.readLine();
while(!stringObject.equals("99:99AM")){
System.out.println(convertedTime(stringObject));
stringObject=bufferObject.readLine();
}
}
public static String convertedTime(String stringObject){
String s=stringObject.substring(stringObject.length()-2);
String[] timeObject=stringObject.substring(0,5).split(":");
if(s.equals("AM")){
if(timeObject[0].equals("12")) return "00"+timeObject[1];
else return timeObject[0]+timeObject[1];
}
else{
if(timeObject[0].equals("12")) return "12"+timeObject[1];
else{
int hours=Integer.valueOf(timeObject[0]);
timeObject[0]=String.valueOf(12+hours);
return timeObject[0]+timeObject[1];
}
}
}
}
Explanation:
- Inside the main method run a while loop until stringObject is not equal to the string "99:99AM".
- Call the convertedTime method and display the results.
- Use the same hours and minutes except for 12th hour If the time is in AM.
- Use "00" instead of 12, if it is 12th hour.
- Add hours to 12, if the time is in PM and don't change anything in case of 12.
<span>Virtual Private Network employs a method called "tunneling" in which each packet from the sending computer is encapsulated within another packet before being sent over the internet.Tunneling protocol allows a network user to access or provide a network service that the underlying network does not support or provide directly</span>
The 2nd row of ur keyboard its called home row !