@@ -0,0 +1,1731 @@
+/**%0A * Created by alex on 22.02.2015.%0A *%0A */%0A%0Aclass DisplayValue %7B%0A%0A    private final String value;%0A%0A    public DisplayValue(String value) %7B%0A        this.value = value;%0A    %7D%0A%0A    public String toString() %7B%0A        return value;%0A    %7D%0A%7D%0A%0Aclass Const %7B%0A%0A    public static final byte B_HEADER = 0x16;%0A    public static final byte B_FINISH = 0x0D;%0A%0A    public static final byte BR_OK = 0x01;%0A    public static final byte BR_PE = 0x06;%0A%0A    public static final byte BIT_PRINT = 0x01;%0A    public static final byte BIT_PHOTO = 0x02;%0A%0A    public static final byte B_COUNTER = 0x43; // 'C'%0A    public static final byte B_DELAY = 0x44; // 'D'%0A    public static final byte B_PRINT_END = 0x45; // 'E'%0A    public static final byte B_SELECT_MESSAGE_3 = 0x49; // 'I'%0A    public static final byte B_SELECT_MESSAGE_2 = 0x4D; // 'M'%0A    public static final byte B_START_PRINT = 0x50; // 'P'%0A    public static final byte B_STOP_PRINT = 0x51; // 'Q'%0A    public static final byte B_READ_STATUS = 0x53; // 'S'%0A    public static final byte B_SET_VARIABLE_2 = 0x54; // 'T'%0A    public static final byte B_SET_VARIABLE_1 = 0x56; // 'V'%0A%0A    private static final DisplayValue S_HEADER_SEND = new DisplayValue(%22162A010250%22);%0A//    public static final DisplayValue S_HEADER_RECEIVE = new DisplayValue(%22163B%22);%0A    private static final DisplayValue S_FINISH = new DisplayValue(%220D%22);%0A%0A    private static String toString(byte b) %7B%0A        String res = Integer.toHexString(b);%0A        if (b %3C 0x10)%7B%0A            return %220%22.concat(res).toUpperCase();%0A        %7D else %7B%0A            return res.toUpperCase();%0A        %7D%0A    %7D%0A%0A    public static String strSend(byte b) %7B%0A        return S_HEADER_SEND.toString().concat(toString(b).concat(S_FINISH.toString()));%0A    %7D%0A%7D%0A

Create Const.java