LEM System is an internal tool for measuring and monitoring manufacturing/production lines app overview.
The project was created as the final project to graduate Harvard's CS50 for benefit of my colleagues at Manufacturing Department of Unisystem and Riverdi (Industrial display and touch screen manufacturer).
The application has to solve some issues that my folks have to tackle on daily basis.
The main features of LEM System:
The software has to:
- Utilize bar-code scanners (in fact, it is not a bar code but Data Matrix – it's 2D code, somewhat similar to QR Code) that the company bought for scanning newly developed stickers that are placed on ready made products (as input data)
- Read MS Excel file with production schedule and part number details and retrieve data about
tact times
,part numbers
andorders
to work with. - Give an instant feedback about
MCT
(Mean Cycle Time),LCT
(Last Cycle Time),Efficiency
, estimatedorder duration
and estimatedtime of order completion
. (also with colors - GREEN and RED so people can instantly see if they are winning or losing) - Give an information about
order
,customer
, manufactured piece (part number), orderedquantity
- Give an information about
missing pieces
- Give an information of mixed up pieces (for example the same part number but form another order from same or another client
- Give feedback about counting one piece more than once
- Give information about how many pieces (of current order) was done on current line and on all the lines and how many pieces are to do
- Give ability to have
breaks
during completion the given order - Give ability to
work on more than one line
- Give ability to
start an order on one line and finish it on another
- Give ability to work on
more than one order simultaneously
- Give ability to work on
the same (big) order on more than one line at the same time
- Handle users (production workers, service, foremen and managers) accounts (with
authorization
andauthentication
) - When user reserves a line, the line has to be unavailable to another user until it is released
Future:
Manager dashboard with:
- Statistics: orders, users, lines, errors, times, partnumbers
- User account management
- Line management
- Order and work scheduling (← that one, can be implemented only when the application will be independent form this huge excel spreadsheet that is currently a bread and butter of all department and everything is based on it)
- Project was initiated by Create React App tool.
- Using Redux for state management.
- Using Redux Form for form data handling.
- Side effects and asynchronous actions dispatches are handled in Redux Thunk middleware.
- Using React Router for routing.
- Using SASS preprocessor and BEM naming convention for CSS development
- Wireframes and mockups were created in Adobe XD
The app is meant to work with some kind of backend. In this particular system, there is a REST API in NodeJS (app, code).
LEM System is meant to be an internal tool, so there is no "sign up" feature. Users can not add themselves to the system, they can be added only by admin/manager.
npm install
npm start
After successful log in a standard user ("operator") would see Scanner Page (the main feature of the application). Here the user can:
- Pick a line to work on
- Pick an order to process
- Start order processing
- Input a scan data from barcode reader into the system
- Pause the order on chosen line (and, for example, work with another order)
- Resume paused order
- Finish the order
- Delete the order
At this very moment the app has 35 components, the picture above shows 11 ones that standard user ("operator") will see 99% of the time:
ScanList – shows a list (array) of ScanContent
components (fetched from the API). The displayed list applies only to the selected order on the selected line.
ScanContent – shows formatted text content of particular scan with a timestamp (and result of scan validation with a message and appropriate icon).
ReaderInput – (disabled when chosen order is paused on chosen line or the order hasn't started yet) an input field that reads data from the scanner (text string with newline character at the end) and feeds it into the API
LinePicker – (disabled when ReaderInput is enabled) select field that fetches and shows lines with "free" status, and already occupied by current user.
OrderPicker – (disabled when ReaderInput
is enabled or there is no picked line) select field that fetches and shows orders to work with (every option shows: orderNumber
, partNumber
, customer
, quantity
).
OrderButtons – there are 5 buttons for handling orders on the scannerPage
:
START
– visible only if chosen order hasn't started yet, enablesReaderInput
component, disablesLinePicker
andOrderPicker
, creates (disabled)FINISH
andDELETE
buttons.PAUSE
– visible only when order is in progress, adds a new break to selected order (request to the backend), disablesReaderInput
component, enablesLinePicker
,OrderPicker
components andFINISH
,DELETE
buttons.RESUME
– visible only when order is paused, finishes started break (request to the backend), enablesReaderInput
component, disablesLinePicker
,OrderPicker
components andFINISH
,DELETE
buttons.FINISH
– (enabled only when order is paused), changes the status of chosen order to "closed" (via confirmation modal), disablesReaderInput
component, enablesLinePicker
,OrderPicker
components, removes all buttons besidesDELETE
.DELETE
– (enabled when order is paused or closed/finished) removes chosen order from system (via confirmation modal)
MissingScans – displays a list of scans needed to complete the order
DoneTodoCard – displays numbers item that are done on selected line and number of items to do (all lines in total)
OrderInfoCard – displays general information about selected order: order number, customer, part number, quantity, items done (on all lines)
EfficiencyCard – displays:
TT
(Tact Time) – a time given to produce one item,MCT
(Mean Cycle Time) – mean time between scans (breaks excluded) (red when higher thanTact Time
, green when equal or lower)LCT
(Last Cycle Time) – time between last and penultimate scan (break time excluded) (red when higher thanTact Time
, green when equal or lower)Efficiency
(in %) – the ratio ofTact Time
toMean Cycle Time
(red when below 100%, green when equal or above)
DurationTimeCard – shows estimated duration and estimated completion time of the whole order. When order is done the component shows real total duration and actual completion time.
An order can be closed in two ways:
- User can click
FINISH
button - User scanned all pieces of order (and order closes itself automatically)
Besides Scanner Page
, there is also Dashboard Page
available. That page can be accessed only by user with a "manager" privileges. Currently it is almost empty, but in the near future it would be enhanced with: order and work scheduling (requires independence from the source excel spreadsheet), user management, line management, order management, very comprehensive statistics about errors, efficiency, tact times, cycle times, part numbers, lines with comparisons, orders, users (maybe with charts), and "1 page all lines live view".