示例#1
0
        /// <summary>
        /// Get NTE Records from NMD_N01_APP_STATS
        /// </summary>
        public static IEnumerable GetNTERecords(this NMD_N01_APP_STATS message)
        {
            object[] result = message.GetRecords("NTERepetitionsUsed", "GetNTE");

            if ((result != null) && (result.Count() > 0))
            {
                for (int i = 0; i < result.Count(); i++)
                {
                    yield return(result[i]);
                }
            }
        }
示例#2
0
 /// <summary>
 /// Add a new NMD_N01_APP_STATS to NTE
 /// </summary>
 public static NTE AddNTE(this NMD_N01_APP_STATS message)
 {
     return(message.GetNTE(message.NTERepetitionsUsed));
 }
示例#3
0
 /// <summary>
 /// Get all NTE Records from NMD_N01_APP_STATS
 /// </summary>
 public static List <NTE> GetAllNTERecords(this NMD_N01_APP_STATS message)
 {
     return(message.GetAllRecords <NTE>("NTERepetitionsUsed", "GetNTE"));
 }