public Footmark(YZReader reader) : this() { this.ItemID = reader.ReadInt32("ItemID"); this.Account = reader.ReadString("Account"); this.Time = reader.ReadDateTime("Time"); this.Position.RawLat = reader.ReadFloat("RawLat"); this.Position.RawLon = reader.ReadFloat("RawLon"); this.Position.Lat = reader.ReadFloat("Lat"); this.Position.Lon = reader.ReadFloat("Lon"); this.Position.Id = reader.ReadString("LocId"); this.Position.Name = reader.ReadString("LocName"); this.Position.Address = reader.ReadString("LocAddress"); this.Contact = reader.ReadString("Contact"); this.Comments = reader.ReadString("Comments"); this.Attachments = reader.ReadString("Attachments"); }