Service Object Overview
Service Objects function as the interface between an application and a POS device. Each Service Object facilitates communication between the application and its associated device by implementing one device interface. The device interfaces provide the properties, methods, and events required by unique POS devices. This enables the application to manage and read data from them.
Not all devices receive the same level of support in POS for .NET. Each POS device that POS for .NET recognizes is provided with up to three levels of Interface classes that provide some level of functional support. The three levels of Interface classes are Interface classes, Basic classes, and Base classes. For more information about POS for .NET Interface classes, see POS for .NET Class Tree. For more information about the default level of support provided by Service Objects, see the individual entries for each Service Object in Microsoft.PointOfService.BaseServiceObjects and Supported Device Classes.
Because each Service Object facilitates communications with a specific device, a different Service Object instance must be created for each connected peripheral device.