예제 #1
0
        public void GatewayRemoveStoreChange(int Num)
        {
            clsGatewayChange GatewayChange = new clsGatewayChange();
            GatewayChange.Type = clsGatewayChange.enumType.Deleted;
            GatewayChange.Gateway = Gateways[Num];
            GatewayChanges.Add(GatewayChange);

            Gateways[Num].MapLink.Disconnect();
        }
예제 #2
0
        public clsGateway GatewayCreateStoreChange(sXY_int PosA, sXY_int PosB)
        {
            clsGateway Gateway = default(clsGateway);

            Gateway = GatewayCreate(PosA, PosB);

            clsGatewayChange GatewayChange = new clsGatewayChange();
            GatewayChange.Type = clsGatewayChange.enumType.Added;
            GatewayChange.Gateway = Gateway;
            GatewayChanges.Add(GatewayChange);

            return Gateway;
        }