public class Emrpc extends Object
Modifier and Type | Method and Description |
---|---|
boolean |
addToOrder(String sid,
int idMenulists,
int number,
String note) |
boolean |
callWaiter(String sid) |
String |
getBill(String sid) |
Object |
getData() |
String |
getError() |
boolean |
getItemNumber(String sid,
int idMenulists) |
ArrayList<String> |
getLoginNames() |
ArrayList<DBRowOrder> |
getOrderItems(int type,
String sid) |
ArrayList<String> |
getTablesList() |
boolean |
newSession(String user,
String pass,
String table) |
boolean |
payBill(String sid) |
boolean |
sendOrder(String sid) |
boolean |
setDinersNumber(String sid,
String adults,
String children) |
public static final int T_FIXED
public static final int T_CARTE
public boolean newSession(String user, String pass, String table)
user
- pass
- table
- public boolean setDinersNumber(String sid, String adults, String children)
sid
- adults
- children
- public boolean getItemNumber(String sid, int idMenulists)
sid
- idMenulists
- public boolean addToOrder(String sid, int idMenulists, int number, String note) throws Exception
sid
- idMenulists
- number
- note
- Exception
public ArrayList<DBRowOrder> getOrderItems(int type, String sid)
type
- sid
- public boolean sendOrder(String sid) throws Exception
sid
- Exception
public boolean callWaiter(String sid)
sid
- public boolean payBill(String sid) throws Exception
sid
- Exception
public Object getData()
public String getError()