package com.gingersoft.gsa.cloud.common.constans;

public class PrintConstans {
    public static final int SO_TIMEOUT = 10 * 1000;//讀取/輸入io流數據超時的時間
    public static final int PRINT_TIMEOUT = 5 * 1000;//打印機連接超時時間
    //默認打印方式
    public final static String DEFAULT_PRINT_METHOD = "default_print";
    public final static String LOCAL_PRINT = "local_print";
    public final static String IP_PRINT = "ip_print";
    public final static String SETTLEMENT_REPORT = "settlement_report";


    /**
     * 0：上菜紙
     * 1：印單
     * 2：結賬單
     * 3：廚房單
     * 4：打印view
     * 5：外賣接單打印
     * 6：開錢箱
     * 7：外賣接單結賬單
     */
    public static final String PRINT_TYPE = "print_type";//打印類型
    public static final String PRINT_CONTENT = "print_content";//打印內容
    public static final String PRINT_ORDER_NO = "print_order_no";//打印ID（唯一标识即可）
    public static final String PRINT_SHOW_LOADING = "print_show_loading";//是否顯示打印進度彈窗


    public final static int PRINT_TEST = -1;//測試頁
    public final static int PRINT_SERVE = 0;//上菜紙
    public final static int PRINT_SLIP = 1;//印單
    public final static int PRINT_BILL = 2;//結賬單
    public final static int PRINT_KITCHEN = 3;//廚房單
    public final static int PRINT_CLEAN_MACHINE = 4;//清機報表 或者其他View
    public final static int PRINT_OTHER_ORDER = 5;//接單內容打印  外送印單
    public final static int PRINT_INSTRUCTION = 6;//開錢箱
    public final static int PRINT_OTHER_CLOSING = 7;//外賣結賬單
    public final static int PRINT_SKYORDER_QRCODE = 8;//skyorder QRCode

    public final static String PRINT_MODEL_N5 = "N5";
    public final static String PRINT_MODEL_WISEPOS = "WiseposPlus";
    public final static String PRINT_MODEL_V2 = "V2,V2_PRO";

}
