Presentation is loading. Please wait.

Presentation is loading. Please wait.

Developing POS Applications with POS for.NET Frank Prengel Embedded Developer Evangelist Microsoft Germany.

Similar presentations


Presentation on theme: "Developing POS Applications with POS for.NET Frank Prengel Embedded Developer Evangelist Microsoft Germany."— Presentation transcript:

1 Developing POS Applications with POS for.NET Frank Prengel Embedded Developer Evangelist Microsoft Germany

2 What you will learn What is WEPOS? WEPOS vs. XP Embedded What is POS for.NET? Using POS for.NET Managing POS Devices

3 What is WEPOS?

4 Windows Embedded for Point of Service XP Embedded leads to different vendors producing different devices and custom images Great flexibility for embedded systems POS configuration challenges WEPOS offers a standard platform for the retail industry and more… UPOS/OPOS Support – Allows ISVs to write one application for hardware Offers access to upcoming technologies such as RFID and Biometric scanners Provides integration to Enterprise solutions Legacy support provides the best in Total Cost of Ownership (TCO) What is WEPOS?

5 Microsoft’s recommended OS for full-featured Point of Service terminals Point of Sale, Kiosks, Self-Checkout/Checkin, Fuel Pumps, Automated Teller Machines, Security Terminals, etc. First in a series of Microsoft retail-focused investments that will continue through Windows Vista Two parts: WEPOS and POS for.NET What is WEPOS?

6 Standard, retail-optimised OS platform for Point of Service devices Only POS platform to provide Plug-n-Play support for retail peripherals Based on Windows XP with Service Pack 2 Provides an Windows XP Pro-like setup Reduced OS footprint Extend PC management to POS Support for standard PC management technologies (SMS, SUS) WEPOS Features 1/2

7 Broad application support WEPOS retail application verification Standard SDK with consistent APIs Comprehensive programming language & technology support:.NET 1.1 & 2.0, Win32, COM, Java, … UPOS support: POS for.NET 1.0 (UPOS v1.8) POS for.NET 1.1 (UPOS v1.9) - New! UPOS/OPOS - http://www.nrf-arts.org/ WEPOS Features 2/2

8 FeatureWindows XP Embedded WEPOS InstallationTarget DesignerCD Installation Embedded Enabling Features EWF, HORM, DUA, Minlogon, CD-BOOT, flash boot, Remote Boot, Power Management Control Library Remote Boot, DUA MultimediaYes SecurityYes OPOS/UPOS support NoYes Enterprise Integration Yes CloningYes Windows UpdateOnly through WSUSYes WEPOS vs. XP Embedded

9 FBA Target Designer XPe Database Component Designer Raw Image Transfer To target Final Image FBA Final Image Installation Options Install: Updates, Drivers, Apps, Etc. XPe Setup WEPOS Setup WEPOS vs. XP Embedded

10 Installation Option~Size (MB) Additional Driver Support 231 IIS85 Language Support 384 Additional Code Page Support 59 Additional Input Device Support 133 Additional Font Support 160 French65 German64 Italian63 Spanish65 Local Management Support 65 Management Client Support 9 Windows Media Player 9.0 122 WEPOS Installation Options

11 Custom themes, logon screens, splash screens Changes through standard Window applets and tools, or custom VBscripts Custom Shells – registry keys Customer Security Logon / Splash screens Customization

12 SDK to develop POS Applications and service objects in.NET Run time for WEPOS and Windows XP Professional Supports.NET Framework 1.1 & 2.0 POS for.NET 1.1 supports UPOS v1.9 Abstract POS hardware from the software Standardise on a logic device name Change a device without having to recode the application Plug & Play is at the heart of POS for.NET What is POS for.NET?

13 SDK install from WEPOS CD, or web download Includes support to develop and test applications on XP Pro SP2 or WEPOS Not supported on XP Embedded Documentation for.NET Classes and Management tools Sample code for service objects and applications POS Device Management command line tools – remote or local management POS for.NET

14 OPOS Driver POS Device Application Control Object Service Object ActiveX OPOS POS Device Application Device Driver PosExplorer Service Object POS for.NET InterOp POS for.NET Architecture (vs. OPOS)

15 POS for.NET vs. UPOS PosExplorer replaces Control Objects Eliminates CO/SO mismatches PnP - DeviceAdded/Removed events Device discovery and instantiation Integrated with management Logical device names, default devices, enable/disable devices Small deviations from UPOS to adhere to the.NET design guidelines Enums replace constants Typed arrays replace delimited strings No in/out parameters

16 Writing a Service Object Typically written by device manufacturers and shipped with the device May be installed by INF or stand alone installer (drag-and- drop) Derive from either Interface, Basic, or Base class Scanner Service Object Scanner Device Driver Scanner Device

17 * New for POS for.NET 1.1 BumpBar CashChanger CashDrawer Cat CheckScanner CoinDispenser * FiscalPrinter HardTotals Keylock* LineDisplay Micr* MotionSensor Msr PinPad PointCardRW PosKeyboard PosPower* PosPrinter Scale* SignatureCapture* SmartCardRW ToneIndicator* RemoteOrderDisplay POS for.NET Supported Devices

18 Writing a Service Object Interface classes Abstract classes for each of the 24 UPOS defined device categories (Msr, Scanner, etc.) Implemented as classes instead of interfaces so we can rev them to match UPOS without breaking clients Basic classes Implemented for all 24 device categories Derive from interface classes UPOS common functionality fully implemented Integrated device statistics support CommonProperties class allows full access to internal properties

19 Base Classes Available for: CashDrawer, CheckScanner, LineDisplay, Msr, PinPad, PosKeyboard, PosPrinter, Scanner Derive from basic classes Implement device specific functionality Easiest way to implement a service object Properties class allows full access to internal properties

20 Service Object Attributes *PosAssembly – Assembly contains SO(s) *ServiceObject – Class implements SO HardwareID – Maps SO to hardware Can also use Control Configuration XML file * Required attribute [assembly:PosAssembly("Manufacturer Name")] [HardwareId(@"HID\Vid_05e0&Pid_1300&Rev_0201")] [ServiceObject("Scanner", "MyScanner", "Description", 1, 9)]

21 SOs & Config: Locations Put your Service Object DLLs in "%ProgramFiles%\Common Files\Microsoft Shared\Point Of Service\Control Assemblies" Put your config files in "%ProgramFiles%\Common Files\Microsoft Shared\Point Of Service\Control Configurations" Configurable in the registry: [HKLM/Software/Pos for.NET]

22 Device Management WMI Classes (root\MicrosoftPointOfService) ServiceObject – Information about installed SO’s POSDevice – Information about installed devices LogicalDevice – Alias for POSDevice DeviceProperty – name/value pair set on POSDevice Posdm.exe command-line tool Exposes WMI via command line MMC snap-in coming in next release All tools support remote management

23 What you have learned WEPOS provides a common platform for Point of Service applications Simpler to install and support than XPe, but requires some post install manual setup POS for.NET 1.1 makes it easy to develop UPOS compliant applications using.NET

24 Resources Windows Embedded for Point of Service homepage: http://www.microsoft.com/windows/embedded/wepos VB.NET example code for app’s and SO’s: http://www.seanliming.com/wepos.html Product Catalog: http://www.windowsembeddeddevices.com/wepos News group support: (msnnews.msn.com) news:microsoft.public.windows.embedded.pointofservice POS for.NET 1.1 SDK download: POS for.NET 1.1 SDK download: http://tinyurl.com/h3wgn

25 Contact http://blogs.msdn.com/frankpr mailto:frankpr@microsoft.com

26 Questions

27 © 2006 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.


Download ppt "Developing POS Applications with POS for.NET Frank Prengel Embedded Developer Evangelist Microsoft Germany."

Similar presentations


Ads by Google