List of rout elements:
This would look like:
| WSID | Work_Station_Name |
| 1(unique int) | buildFrame |
| 2(unique int) | addSeats |
| 3.. | ... |
List of existing routs:
would look like:
| RID | Rout_name | WSID_1 | WSID_2... |
| 1 | Model_1 | 4 | 2... |
| 2 | Model_2 | 7 | 3 |
| 3 | Model_3 | 7 | 4... |
What your storage solution is does not really matter. Could be text files, XML, RDBMS, JSON, .ini....whatever...
The key is to be able to easily add "workstations", and easily add routs(ordered collections of workstations)
The workstation list is just a lookup to fill in the rout. Both the existing routs and workstation list would only be added to. (thus you never loose the history of a rout).
Really all you need is an array to hole the workstations and a hash of arrays to hold the routs. With those two structures, you can do pretty much anything you need to do for a simplistic system. Both lists could be stored in a single file if that makes it easier, or in a spreadsheet assuming you use something like Spreadsheet::WriteExcel.
I would use an RDBMS for my storage personally, but again, it hardly matters. In my experience, the priorities are in order:
Hope there is something useful to you in there...
In reply to Re: handling tasks and customizing flow of tasks using perl
by wjw
in thread handling tasks and customizing flow of tasks using perl
by asham
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |