-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathMain.java
More file actions
98 lines (90 loc) · 1.58 KB
/
Copy pathMain.java
File metadata and controls
98 lines (90 loc) · 1.58 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
import java.sql.Time;
import javax.swing.JDialog;
/**
* @author Todd Pickell CISS 238
* 3/19/12
* Programming Discussion 1
*/
public class Main
{
/**
* fields for time constants
*/
private static int timeToClockIn = 600;
private static int timeToClockOut = 1430;
/**
* main method
*/
public static void main(String[] args) {
getReadyForShift();
if(Time < timeToClockIn) {
wait;
}
else {
clockIn;
}
while(Time < timeToClockOut) {
work();
}
clockOut;
}
/**
* get ready for my shift method
*/
private static void getReadyForShift() {
connect to VPN;
start Ticket / VNC software;
log into email;
log into tennant and team chat rooms;
log into time clock site;
}
/**
* work loop method
* done until time to clock out is reached
*/
private static void work() {
if(!callsInQue) {
readHomeworkAssignment;
}
else {
takeCall();
}
}
/**
* take call method
* used to establish if work is done
* for client and what type of
* service to perform on computer
*/
private static void takeCall() {
/**
* all services are paid for
* if they dont pay dont waste
* time transfer them back to isp
*/
if(!callerPaidForService) {
if (wantToPay) {
transferToSalesDept;
}
else {
transferToIsp;
}
}
else {
determineProblem
establishRemoteConnection;
if(problemIsVirus) {
virusRemovalProcess;
}
else if(problemIsHelpdesk) {
troubleshootPcIssue;
}
else {
troubleshootWirelessNetwork;
}
resolveIssues;
demonstrateProblemsFixed ;
endCall;
}
}
}