mapcomplete/Customizations/Questions/bike/PumpManometer.ts

19 lines
617 B
TypeScript
Raw Normal View History

import {Tag} from "../../../Logic/Tags";
2020-07-20 23:43:42 +02:00
import Translations from "../../../UI/i18n/Translations";
2020-07-31 17:38:03 +02:00
import {TagRenderingOptions} from "../../TagRenderingOptions";
2020-07-16 09:54:32 +02:00
export default class PumpManometer extends TagRenderingOptions {
2020-07-16 09:54:32 +02:00
constructor() {
const to = Translations.t.cyclofix.station.manometer
2020-07-16 09:54:32 +02:00
super({
question: to.question,
2020-07-16 09:54:32 +02:00
mappings: [
{k: new Tag("manometer", "yes"), txt: to.yes},
{k: new Tag("manometer", "no"), txt: to.no},
{k: new Tag("manometer", "broken"), txt: to.broken}
2020-07-16 09:54:32 +02:00
]
});
}
}