Exemplo n.º 1
0
        public override bool RegisterItems()
        {
            ItemCreateOptions options = new ItemCreateOptions {
                Description = "Fictional device", Datatype = typeof(int), AccessRights = ItemAccess.ReadWrite
            };

            // creating mockup KNX item tree
            foreach (string path in itemPaths)
            {
                mHost_.CreateItem(path, options);
            }

            PlugLog.EnableLogging(120000);
            return(true);
        }
Exemplo n.º 2
0
 public static void Stop()
 {
     PlugLog.memoryLog.Add("FINISHED");
     PlugLog.WriteLog(id, dirpath, fullpath);
 }
Exemplo n.º 3
0
 private static void OnTimedEvent(Object source, ElapsedEventArgs e)
 {
     PlugLog.WriteLog(id, dirpath, fullpath);
 }