Skip to content

PosSharp.Core.UposDeviceBase.UpdatePowerState(PosSharp.Abstractions.PowerState)

github-actions[bot] edited this page May 8, 2026 · 5 revisions

PosSharp v1.2.0 API Reference


UposDeviceBase.UpdatePowerState(PowerState) Method

Updates the current power state and fires an event if notification is enabled.

protected void UpdatePowerState(PosSharp.Abstractions.PowerState newState);

Parameters

newState PosSharp.Abstractions.PowerState

The new power state.

Clone this wiki locally