Esempio n. 1
0
 public TrafficMapFunctionImp(IApplicationContext context, TrafficMapView trafficMapView)
 {
     this.m_Context = context;
     this.m_TrafficMapView = trafficMapView;
     this.m_TrafficMapModelService = context.Lookup(typeof(ITrafficMapModelService).FullName) as ITrafficMapModelService;
     this.m_GisPolygonAssist = this.m_TrafficMapModelService.GeoProvider.PolygonRegionAssist;
 }
 public TrafficMapTreeNodeOperation(IApplicationContext context, List<NetWorkType> netTypeList)
 {
     this.m_ServiceContext = context;
     this.m_NetWorkTypeList = netTypeList;
     this.mapTree = new TrafficMapView(context, this.m_NetWorkTypeList);
     this.m_ParentNode = this.mapTree.ParentNode;
     this.m_MyImageList = new ImageList();
     this.m_MyImageList.Images.Add(TrafficMapResource.TRAFFICMAP_FOLDER, MapResource.folder);
     this.m_MyImageList.Images.Add(TrafficMapResource.TRAFFIC_MAPFOLDER, MapResource.traffic);
 }
Esempio n. 3
0
 public VectorMapPropertiesFrm(IApplicationContext context, TrafficMapView inTrafficMapView, List<NetWorkType> netTypeList)
 {
     this.m_HandleMap = new Dictionary<int, ProcessChangedHandle>();
     this.m_VectorMap = null;
     this.m_IsExistsNode = false;
     this.m_TrafficModelService = null;
     this.m_RemoveColorPolygon = new List<GeoPolygonRegion>();
     this.m_OldVectorMap = null;
     this.m_BakClutterClassList = null;
     this.m_BakSelectedVectorList = null;
     this.m_BakDensity = 0f;
     this.m_BakUserProfile = null;
     this.m_BakMobility = null;
     this.components = null;
     this.InitParam(context);
     this.InitializeComponent();
     this.m_TrafficMapView = inTrafficMapView;
     this.m_netTypeList = netTypeList;
     this.m_VectorMap = new VectorTrafficMap(context);
     this.oldName = this.m_VectorMap.Name;
 }