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(); }
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; }