public override void LoadFromTGSerializedObject(TGSerializedObject _tgs) { base.LoadFromTGSerializedObject(_tgs); OriginalTagUserGuid = _tgs.GetGuid("OriginalTagUserGuid"); OriginalTagDateTime = _tgs.GetDateTime("OriginalTagDateTime"); Position = _tgs.GetGeoPoint("Position"); CreationDateTime = _tgs.GetDateTime("CreationDateTime"); PrimaryImageGuid = _tgs.GetNullableGuid("PrimaryImageGuid"); OriginalReviewerUserGuid = _tgs.GetNullableGuid("OriginalReviewerUserGuid"); LastReviewerUserGuid = _tgs.GetNullableGuid("LastReviewerUserGuid"); string temp = _tgs.GetString("Properties"); if (temp != null) { Properties = TGSerializedObject.GetTGSerializable <Properties>(temp); } }
public override void LoadFromTGSerializedObject(TGSerializedObject _tgs) { base.LoadFromTGSerializedObject(_tgs); UserGuid = _tgs.GetGuid("UserGuid"); DeviceDateTime = _tgs.GetDateTime("DeviceDateTime"); Position = _tgs.GetGeoPoint("TagPosition"); TagType = _tgs.GetString("TagType"); ImageGuid = _tgs.GetNullableGuid("ImageGuid"); ExternalIdentifier = _tgs.GetString("ExternalIdentifier"); ExternalSource = _tgs.GetString("ExternalSource"); HydrantGuid = _tgs.GetNullableGuid("HydrantGuid"); string temp = _tgs.GetString("Properties"); if (temp != null) { Properties = TGSerializedObject.GetTGSerializable <Properties>(temp); } Status = _tgs.GetString("Status"); }