public static LogTablePuls ToLogTablePlus(LogTable t) { LogTablePuls p = new LogTablePuls(); p.GUID = t.GUID; p.Name = t.Name; return(p); }
public static LogTable FromLogTablePlus(LogTablePuls t) { LogTable p = new LogTable(t.GUID); p.Name = t.Name; if (t.Columns != null && t.Columns.Count > 0) { foreach (LogTableItemPlus lt in t.Columns) { p.Columns.Add(FromLogTableItemPlus(lt)); } } return(p); }