A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Node.js in Action
this week in the
Other Java Products and Servers
JavaPOS Power state constants
Joined: Jan 16, 2007
Mar 07, 2007 20:22:00
Hi everyone, I've been using the javaPOS for some time now and I have come to a doubt. This are the constants define for the power state:
public static final int JPOS_PS_UNKNOWN = 2000; public static final int JPOS_PS_ONLINE = 2001; public static final int JPOS_PS_OFF = 2002; public static final int JPOS_PS_OFFLINE = 2003; public static final int JPOS_PS_OFF_OFFLINE = 2004;
Does anyone know what would be the difference between OFF and OFFLINE? And even further, what would the OFF_OFFLINE mean? Any help is deeply appreciated.
I agree. Here's the link:
subject: JavaPOS Power state constants
What is Enums?
final static int i =0 Whizlabs says i is variable and i feel it is a constant
Assigning values to instance fields
Interface with ONLY CONSTANTS
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014