public override void Deserialize(IntermediateFormatReader reader)
        {
            base.Deserialize(reader);
            reader.RegisterDeclaration(MapPointLayer.m_Declaration);
            while (reader.NextMember())
            {
                switch (reader.CurrentMember.MemberName)
                {
                case MemberName.MapPointTemplate:
                    this.m_mapPointTemplate = (MapPointTemplate)reader.ReadRIFObject();
                    break;

                case MemberName.MapPointRules:
                    this.m_mapPointRules = (MapPointRules)reader.ReadRIFObject();
                    break;

                case MemberName.MapPoints:
                    this.m_mapPoints = reader.ReadGenericListOfRIFObjects <MapPoint>();
                    break;

                default:
                    Global.Tracer.Assert(false);
                    break;
                }
            }
        }
示例#2
0
        public object PublishClone(AutomaticSubtotalContext context)
        {
            MapPointRules mapPointRules = (MapPointRules)base.MemberwiseClone();

            mapPointRules.m_map = context.CurrentMapClone;
            if (this.m_mapSizeRule != null)
            {
                mapPointRules.m_mapSizeRule = (MapSizeRule)this.m_mapSizeRule.PublishClone(context);
            }
            if (this.m_mapColorRule != null)
            {
                mapPointRules.m_mapColorRule = (MapColorRule)this.m_mapColorRule.PublishClone(context);
            }
            if (this.m_mapMarkerRule != null)
            {
                mapPointRules.m_mapMarkerRule = (MapMarkerRule)this.m_mapMarkerRule.PublishClone(context);
            }
            return(mapPointRules);
        }
 public MapPointRules(AspNetCore.ReportingServices.ReportIntermediateFormat.MapPointRules defObject, MapVectorLayer mapVectorLayer, Map map)
 {
     this.m_defObject      = defObject;
     this.m_mapVectorLayer = mapVectorLayer;
     this.m_map            = map;
 }