Exemplo n.º 1
0
        public void CompareToCurrentAndNextIPSType(Guid currentRegionGuid,
                                                   Guid nextRegionGuid,
                                                   int firstStep)
        {
            IPSType currentIPSType =
                _navigationGraph.GetRegionIPSType(currentRegionGuid);
            IPSType nextIPSType =
                _navigationGraph.GetRegionIPSType(nextRegionGuid);

            if (!nextIPSType.Equals(currentIPSType) || firstStep == _firstStep)
            {
                HaveBeaconAllFalse();
                CloseStartAllExistClient();

                OpenCurrentIPSClient(currentIPSType);
                OpenCurrentIPSClient(nextIPSType);
            }
        }