Register / Login
Win a copy of
Functional Reactive Programming
this week in the
Other Java Products and Servers
JavaPOS Power state constants
posted 9 years ago
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.
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