Control of fire-fighting equipment