6.1.4 I/O Formats
Report Formats
Generated Schedule Report
Monday
4:00-11:00 Baker Andy Able
6:00-13:00 Manager Betty Boop
8:00-15:00 Slicer (unassigned)
Tuesday
4:00-11:00 Baker Charly Chan
6:00-13:00 Manager Andy Able
8:00-15:00 Cashier Betty Boop
Employee Report
Employee: Andy Able Initials: AA
Phone: 111 Email: aa Desired hours: 40.0
Skills: Baker Manager Cashier
Availability:
M --********************---
T -------------------------
W -------------------------
T -------------------------
F -------------------------
S -------------------------
S -------------------------
Employee: Betty Boop Initials: BB
Phone: 2 Email: bb Desired hours: 40.0
Skills: Baker Manager Cashier
Availability:
M --*******************----
T --*************----------
W -------------------------
T -------------------------
F -------------------------
S -------------------------
S -------------------------
File Formats
The application reads and writes four external files:
-
settings.cfg
- contains the Settings data in plain text.
The file is formatted with fixed length fields:
Field |
Format |
Company Name
|
25 characters
|
Week Start Day
|
3 char abbreviation
|
12 or 24 hr time
|
2 numeric digits
|
-
skills.dat
- contains the company Skill list as a comma separated list of skill names.
-
employees.dat
- contains serialized (binary) form of the Employee List (see data dictionary)
-
week091108.sch
- contains serialized (binary) form of the Schedule (see data dictionary).
The file name contains the week start date in form MMDDYY.
Three "report" files can be generated:
-
settingsReport.txt
- contains the Settings
-
empReport.txt
- contains the Employee List
-
schedReport.txt
- contains a generated Schedule
These are plain ascii text files in the exact format as the printed report.