Esempio n. 1
0
        ///// <summary>
        /////
        ///// </summary>
        ///// <param name="port"></param>
        //protected override void StartInner(int port)
        //{
        //    mHisProcess = new HisDataServerProcess() { Parent = this };
        //    mInfoProcess = new TagInfoServerProcess() { Parent = this };
        //    mHisProcess.Start();
        //    mInfoProcess.Start();
        //    base.StartInner(port);

        //}

        public override void Start(int port)
        {
            mHisProcess = new HisDataServerProcess()
            {
                Parent = this
            };
            mInfoProcess = new TagInfoServerProcess()
            {
                Parent = this
            };
            mHisProcess.Start();
            mInfoProcess.Start();
            base.Start(port);
        }
Esempio n. 2
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="port"></param>
        public override void Start(int port)
        {
            mHisProcess = new HisDataServerProcess()
            {
                Parent = this
            };
            mRealProcess = new RealDataServerProcess()
            {
                Parent = this
            };
            mInfoProcess = new TagInfoServerProcess()
            {
                Parent = this
            };
            mHisProcess.Start();
            mRealProcess.Start();
            mInfoProcess.Start();

            ServiceLocator.Locator.Registor <IAPINotify>(mInfoProcess);

            base.Start(port);
        }