SiteKiosk Documentation
One Step Back

DeviceRuntimeCounters Method




The DeviceRuntimeCounters method returns runtime sales information for a specified device.


Syntax

    [obj=] SiteKiosk.Plugins("SiteCash").AccumulatedMoneyStorage.
           DeviceRuntimeCounters(deviceName)
    
Parameters
    deviceNameString containing the name of a device.
Return Value
    Returns an AccumulatedMoneyItem object containing the runtime sales information for the specified device.
Remarks
    None.
Examples
    The following example shows the current cash amount of the first available device.

    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    var AMStorage = SiteKiosk.Plugins("SiteCash").AccumulatedMoneyStorage;
    var FirstDevice = SiteKiosk.Plugins("SiteCash").Devices2.Item(1).Name;
    alert(AMStorage.DeviceRuntimeCounters(FirstDevice).CurrentCashAmount);
    </SCRIPT>
    

Applies to
    SiteKiosk v6.5 (and later versions).

Back to topVolver arriba

© 1997-2011 PROVISIO - Aventura, EEUU - Muenster, Alemania
Sitekiosk.es - Grupo24®, Madrid, España -