Ejemplo n.º 1
0
 private int GetLedCount()
 {
     int count = 0;
     LedCountInfo nci = new LedCountInfo();
     if (NLedGetDeviceInfo(ledCountInfoId, nci))
     {
         count = nci.LedsCount;
     }
     return count;
 }
Ejemplo n.º 2
0
Archivo: Led.cs Proyecto: flts/fleux
 private int GetLedCount()
 {
     int count = 0;
     LedCountInfo nci = new LedCountInfo();
     try{
         if (NLedGetDeviceInfo(ledCountInfoId, nci))
         {
             count = nci.LedsCount;
         }
     }catch(Exception){}
     return count;
 }
Ejemplo n.º 3
0
        private int GetLedCount()
        {
            int          count = 0;
            LedCountInfo nci   = new LedCountInfo();

            try{
                if (NLedGetDeviceInfo(ledCountInfoId, nci))
                {
                    count = nci.LedsCount;
                }
            }catch (Exception e) {}
            return(count);
        }
Ejemplo n.º 4
0
 private static extern bool NLedGetDeviceInfo(uint nID, LedCountInfo output);
Ejemplo n.º 5
0
Archivo: Led.cs Proyecto: flts/fleux
 private static bool NLedGetDeviceInfo(uint nID, LedCountInfo output){
     return false;
 }
Ejemplo n.º 6
0
 private static bool NLedGetDeviceInfo(uint nID, LedCountInfo output)
 {
     return(false);
 }
Ejemplo n.º 7
0
 private static extern bool NLedGetDeviceInfo(uint nID, LedCountInfo output);