Esempio n. 1
0
        public void Remove(VirtualSensor virtualSensor)
        {
            VirtualClient virtualClient = virtualSensor.VirtualClient;

            this.vcGroup.Remove(virtualClient);
            this.station.TransmitInstantDisappearance(virtualClient);
            virtualSensor.SetVersion(this.station.ID, this.station.PermanentAppearanceVersion);
        }
Esempio n. 2
0
        public void Add(VirtualSensor virtualSensor)
        {
            VirtualClient virtualClient = virtualSensor.VirtualClient;

            this.vcGroup.Add(virtualClient);
            this.station.TransmitPermanentAppearance(virtualClient, virtualSensor.GetVersion(this.station.ID));
            this.station.TransmitInstantAppearance(virtualClient);
        }