Added manual pump question

This commit is contained in:
Pieter Fiers 2020-07-07 16:39:11 +02:00
parent 75a3a70afa
commit ee2777495b
5 changed files with 44 additions and 4 deletions

View file

@ -0,0 +1,23 @@
import {TagRenderingOptions} from "../TagRendering";
import {UIEventSource} from "../../UI/UIEventSource";
import {Changes} from "../../Logic/Changes";
import {Tag} from "../../Logic/TagsFilter";
export class PumpManual extends TagRenderingOptions {
private static options = {
priority: 5,
question: "Is dit een manuele pomp?",
mappings: [
{k: new Tag("manual", "yes"), txt: "Manuele pomp"},
{k: new Tag("manual", "no"), txt: "Automatische pomp"}
]
}
constructor() {
super(PumpManual.options);
}
}