コード例 #1
0
        public void Init(IServerObjectHelper pSOH)
        {
            this.soHelper            = pSOH;
            this.serverLog           = new ServerLogger();
            this.mapServerDataAccess = (IMapServerDataAccess)this.soHelper.ServerObject;
            ms              = (IMapServer3)this.mapServerDataAccess;
            mapServerInfo   = ms.GetServerInfo(ms.DefaultMapName);
            this.layerInfos = mapServerInfo.MapLayerInfos;
            this.mapDesc    = (IMapDescription3)mapServerInfo.DefaultMapDescription;

            serverLog.LogMessage(ServerLogger.msgType.infoStandard, this.soeName + ".init()", 200, "Initialized " + this.soeName + " SOE.");
        }
コード例 #2
0
        public void Init(IServerObjectHelper pSOH) 
        {
            this.soHelper = pSOH;
            this.serverLog = new ServerLogger();
            this.mapServerDataAccess = (IMapServerDataAccess) this.soHelper.ServerObject;
            ms = (IMapServer3) this.mapServerDataAccess;
            mapServerInfo = ms.GetServerInfo(ms.DefaultMapName);
            this.layerInfos = mapServerInfo.MapLayerInfos;
            this.mapDesc = (IMapDescription3)mapServerInfo.DefaultMapDescription;

            serverLog.LogMessage(ServerLogger.msgType.infoStandard, this.soeName + ".init()", 200, "Initialized " + this.soeName + " SOE.");
        }