Esempio n. 1
0
 private void ReportHandler(IntPtr parameter, IntPtr report)
 {
     try
     {
         if (_rep == null)
         {
             _rep = new Reporting(report);
         }
         MmsValue values = _rep.GetDataSetValues();
         for (int i = 0; i < values.Size(); i++)
         {
             var reason = _rep.GetReasonForInclusion(i);
             if (reason != ReasonForInclusion.REASON_NOT_INCLUDED)
             {
                 var dos = _rep.GetDataReference(i);
                 WriteValue(values.GetElement(i), dos == null ? i + "" : dos, reason);
             }
         }
     }
     catch (Exception ex)
     {
         Console.WriteLine(ex.Message);
     }
 }
Esempio n. 2
0
 public MmsValueEnumerator(MmsValue value)
 {
     this.value = value;
 }