public bool FromLog(KeyLog log) { if (log == null) { return false; } Id = log.RefId; Order = log.Order; Label = log.Label; Major = log.Major; CatId = log.CatId; RegTime = log.RegTime; LibId = log.LibId; Title = log.Title; MetaKey = log.MetaKey; IcoName = log.IcoName; IcoPath = log.IcoPath; IcoMemo = log.IcoMemo; GtdId = log.GtdId; GtdMemo = log.GtdMemo; Window = log.Window; Script = log.Script; Memo = log.Memo; AccessTime = log.AccessTime; Backup = log.Backup; CipherVer = log.CipherVer; AttIndex = log.AttIndex; Password = log.Password; return true; }
public KeyLog ToLog() { KeyLog log = new KeyLog(); log.RefId = Id; log.Order = Order; log.Label = Label; log.Major = Major; log.CatId = CatId; log.RegTime = RegTime; log.LibId = LibId; log.Title = Title; log.MetaKey = MetaKey; log.IcoName = IcoName; log.IcoPath = IcoPath; log.IcoMemo = IcoMemo; log.GtdId = GtdId; log.GtdMemo = GtdMemo; log.Window = Window; log.Script = Script; log.Memo = Memo; log.AccessTime = AccessTime; log.Backup = Backup; log.CipherVer = CipherVer; log.AttIndex = AttIndex; log.Password = Password; return log; }
public void Resuma(KeyLog log) { }