CashDrawer.DrawerEventSource 属性

定义

获取 CashDrawerEventSource ,以允许应用检测抽屉的打开/关闭状态。 实际当前状态由 IsDrawerOpen 报告

public:
 property CashDrawerEventSource ^ DrawerEventSource { CashDrawerEventSource ^ get(); };
CashDrawerEventSource DrawerEventSource();
public CashDrawerEventSource DrawerEventSource { get; }
var cashDrawerEventSource = cashDrawer.drawerEventSource;
Public ReadOnly Property DrawerEventSource As CashDrawerEventSource

属性值

收银机事件源。 如果抽屉不支持打开/关闭检测,则它将返回 null。

适用于