Пример #1
0
 public static void handleHook(string hookname)
 {
     if (!KDMX.DMXEventBusy)
     {
         KDMX.DMXEventBusy = true;
         KDMX.outputConsole("Event! " + hookname);
         getEventInfo(hookname);
         setEventDone();
     }
 }
Пример #2
0
 public static void getEventInfo(string eventName)
 {
     for (int i = 0; i < dmxEventList.Count; i++)
     {
         string eventType       = dmxEventList[i].Attributes["type"].InnerText;
         string eventContinuous = dmxEventList[i].Attributes["continuous"].InnerText;
         if (eventName == eventType)
         {
             KDMX.outputConsole("Found an event with that name in the configuration!");
             KDMX.outputConsole("Event name: " + eventType);
             KDMX.outputConsole("Continuous: " + eventContinuous);
             dmxTimeblockList = dmxEventList[i].SelectNodes("/timeblock");
             for (int j = 0; j < dmxEventList[i].Count; j++)
             {
             }
         }
     }
 }