Add SuperUser view for TestJob's, it should show a list of all the TestJob with the headers {"Job Number", "PO", "Status", "Station"}, the job number should be a link to the TestJob details view, this view should show all the info related to the TestJob {StepsForJob, Stops, Features, etc}
A change in the TestJob Features shouldn't erase the steps information for that job, instead create a virtual list with the new steps required for the new features and compare with the current steps features list, if any of there are mismatchs do the following:
If step in new list is not in the current list add this step
If step in current list not in new list mark this step as obsolete
The consecutive int in the list should be updated after any modification; a new boolean "obsolete" would be required for each step
Whenever there's a time field involved use HH:MM:SS format
Remove the "amp;" text after the "&" in the steps
"Restar" should be "Restart"
Tech user should only be able to have one active job
Add boolean to Stop "Critical" which would mean that the job cannot be work on it while on this stop
-Tech should not be able to delete TestJob
Technician should not be able to change station
-Create TechAdmin Dashboard, it should include the functions:
Job reassigment
Station reassignment
Steps Completion (make it so he can manipulate the times?)
Status change (make sure he has to fill al the missing information!)
Job Completion (like 4.)
If active job in station another job cannot be assigned to that station
Only tech's should be able to create TestJob
Create Stations table, Station Class:
public class Station
{
public int StationD { get; set; }
public string StationLabel { get; set; }
public int JobTypeID { get; set; }
}
Add StartDate and CompletionDate DateTime to TestJob, StartDate would be filled when the TestJob is created, CompletionDate should be filled when job is finished
Add to Stop and Step:
public int TechnicianID { get; set; }
public int StationID { get; set; }
To be defined:
TestJob Reassignment:
-Create Stop?
-Change job status
-If any active stop, close the active one specifying that it was reassigned and create a new one
with the new Tech/Station
-Set the current step stop to NOW and set the elapsed, then change the start and stop to
NOW, update Tech/Station
TestJob Completion:
-Ask for elapsed time in ea step?
-Note that it was completed by the Admin?
The consecutive int in the list should be updated after any modification; a new boolean "obsolete" would be required for each step
-Tech should not be able to delete TestJob
-Create TechAdmin Dashboard, it should include the functions:
Create Stations table, Station Class:
public class Station { public int StationD { get; set; }