Download presentation
Presentation is loading. Please wait.
Published byBradyn Simpkins Modified over 9 years ago
1
Mobile Industrial Solutions Training Course
2
Mobile Industrial Solutions Casio DT-X7 Stocktaking Sample Name:Arne Reinelt Function: Product Support Mobile Industrial Solutions
3
Mobile Industrial Solutions DT-X7 Stocktaking Sample Upload data to PC
4
Mobile Industrial Solutions Workflow Get user name, rack number, and article numbers Deactivate certain records due to wrong input Write all data to specific files Upload data files to PC by using Casio LMWin communication software
5
Mobile Industrial Solutions Data Flow DATA.TMP DATA.DAT Barcode Date User Rack Time Price Quantity APPEND RACK1.DAT RACK9.DAT RACK2.DAT
6
Mobile Industrial Solutions Flow Chart Collect Data Delete Data Upload Data
7
Mobile Industrial Solutions Object Orientated Design Presentation Layer (Dialog Classes) Business Layer (Business Transaction Class ) Data Layer (Data Class) Show data Get data from user Show system status Collect data Delete data Upload data Read/write to file Read/write to DB Query DB
8
Mobile Industrial Solutions Casio Libraries System Library (System Settings) –Keyboard –CPU Speed –Mouse Pointer –Speaker / Vibrator OBR Library (Scanner) Flink Library (Data Communication)
9
Mobile Industrial Solutions OBR Conditions closedopened Scanning disabled Changing the settings enabled Trigger keys not occupied Scanning enabled Changing the settings disabled Trigger keys occupied OBROpen(...) OBRClose(...)
10
Mobile Industrial Solutions Synchronization done by CCriticalSection object OBR Workflow ScanningNo SettingsGlobal ExecutionOnce Duration3-5 sec. Data Sub DialogMain Dialog OBROpen … OBRGets … OBRClose Reader Thread ScanningYes SettingsSpecific ExecutionMultiple Duration50 ms Fast Switching
11
Mobile Industrial Solutions Data Communication FLKOpen do while( false ) FLKFileAdd CheckStatus FLKClose Error: break Exit OK CheckStatus FLKDateTime Error: return CheckStatus: Necessary due to asynchronous function calls Error: break You must disable ActiveSync when using FLink
12
Mobile Industrial Solutions Special Features Full Screen Mode Color buttons Custom Fonts Keyboard Navigation Hot Keys (Red, Yellow, and Blue) Custom Title and Task Bar MFC Collection Classes
13
Mobile Industrial Solutions Full Screen Mode Custom Title Bar Custom Task Bar Client Area
14
Mobile Industrial Solutions Full Screen Mode Client windows are smaller than the main application window Custom taskbar stays visible all the time Using dialog template to avoid duplicating common functions
15
Mobile Industrial Solutions Custom Fonts Different Font Styles
16
Mobile Industrial Solutions And now something completely different…
17
Mobile Industrial Solutions Once upon a time, in a galaxy far, far away…
18
Mobile Industrial Solutions Workshops Casio DT-X7 Stocktaking Application Star Wars Edition
19
Mobile Industrial Solutions Installation Install latest libraries to your DT-X7 Copy OBRDRV.ini to \FlashDisk\System Settings\, and overwrite the existing one if necessary Deploy release version of DTX7_Stocktaking application to your mobile device Test the application… ~ 15 Minutes
20
Mobile Industrial Solutions System Library Add new function to CHelper class in order to get the device ID of your DT-X7 Use this newly added function to display the device ID when the [Make Settings] button from main menu is pressed (display only relevant digits) Play warning sound through buzzer when battery power drops below 15 percent Repeat that warning every 5 seconds Hint: Use CheckBatteryPower( ) function in CDTX7_StockTakingDlg class as starting point ~ 30 Minutes
21
Mobile Industrial Solutions OBR Library Enable notification by vibrator for scanning complete condition Two possibilities: –Modify InitSettings( ) in CDTX7_StockTaking class and Init( ) in COBRWedgeBase class –Modify Modify OnBprdok( ) in CTX7_ProductDlg class Allow to read Code128 instead of Code39 for the user name Hint: Modify MakeSettings(…) in COBRWedge class ~ 30 Minutes
22
Mobile Industrial Solutions Flink Library Modify the application to copy all data files one by one to PC instead of appending all data to only file on PC Hint: You will have to make your changes in SyncJobStandard(…) in CFLCEWedge class ~ 30 Minutes
23
Mobile Industrial Solutions Homework Modify the data layer (CData class) to use a database of your choice instead of MFC collection classes Modify the communication part to use Bluetooth or WLAN instead of LMWin Add more thread functions to the CFLCEWedge class, e.g. to receive new program versions from PC Add your own functions to the settings menu, e.g. to configure the trigger keys Add your own submenus to collect data for different departments
24
Mobile Industrial Solutions Questions & Answers
Similar presentations
© 2024 SlidePlayer.com Inc.
All rights reserved.