package jpos;

public interface MSRConst
{
    //###################################################################
    //#### MSR Constants
    //###################################################################

    /////////////////////////////////////////////////////////////////////
    // "TracksToRead" Property Constants
    /////////////////////////////////////////////////////////////////////

    public static final int MSR_TR_1             = 1;
    public static final int MSR_TR_2             = 2;
    public static final int MSR_TR_3             = 4;

    public static final int MSR_TR_1_2           = MSR_TR_1 | MSR_TR_2;
    public static final int MSR_TR_1_3           = MSR_TR_1 | MSR_TR_3;
    public static final int MSR_TR_2_3           = MSR_TR_2 | MSR_TR_3;

    public static final int MSR_TR_1_2_3         = MSR_TR_1 | MSR_TR_2 | MSR_TR_3;


    /////////////////////////////////////////////////////////////////////
    // "ErrorReportingType" Property Constants
    /////////////////////////////////////////////////////////////////////

    public static final int MSR_ERT_CARD         = 0;
    public static final int MSR_ERT_TRACK        = 1;


    /////////////////////////////////////////////////////////////////////
    // "ErrorEvent" Event: "ResultCodeExtended" Parameter Constants
    /////////////////////////////////////////////////////////////////////

    public static final int JPOS_EMSR_START      = 1 + JposConst.JPOSERREXT;
    public static final int JPOS_EMSR_END        = 2 + JposConst.JPOSERREXT;
    public static final int JPOS_EMSR_PARITY     = 3 + JposConst.JPOSERREXT;
    public static final int JPOS_EMSR_LRC        = 4 + JposConst.JPOSERREXT;
}