Example #1
0
        public static byte GetTranIndex(RPTAnalise analise, TRAN_ORDER tranOrder)
        {
            byte Result = 0;

            for (byte ii = 0; ii < analise.tranOrder.Length; ii++)
            {
                if (analise.tranOrder[ii] == tranOrder)
                {
                    Result = ii;

                    break;
                }
            }

            return Result;
        }
Example #2
0
        public static bool IsRPTValid(RPTAnalise analise)
        {
            bool Result = analise.persoMACValid;

            if (Result)
            {
                for (int ii = 0; ii < analise.tranMACValid.Length; ii++)
                {
                    Result = analise.tranMACValid[ii];

                    if (!Result)
                        break;
                }
            }

            return Result;
        }
Example #3
0
 public static byte GetOldestTranIndex(RPTAnalise analise)
 {
     return GetTranIndex(analise, TRAN_ORDER.OLDEST);
 }
Example #4
0
 public static byte GetPreviousTranIndex(RPTAnalise analise)
 {
     return GetTranIndex(analise, TRAN_ORDER.PREVIOUS);
 }
Example #5
0
 public static byte GetLastTranIndex(RPTAnalise analise)
 {
     return GetTranIndex(analise, TRAN_ORDER.LAST);
 }