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); }
public static void Stop() { PlugLog.memoryLog.Add("FINISHED"); PlugLog.WriteLog(id, dirpath, fullpath); }
private static void OnTimedEvent(Object source, ElapsedEventArgs e) { PlugLog.WriteLog(id, dirpath, fullpath); }