forked from MapComplete/MapComplete
		
	Added manual pump question
This commit is contained in:
		
							parent
							
								
									75a3a70afa
								
							
						
					
					
						commit
						ee2777495b
					
				
					 5 changed files with 44 additions and 4 deletions
				
			
		
							
								
								
									
										23
									
								
								Customizations/Questions/PumpManual.ts
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										23
									
								
								Customizations/Questions/PumpManual.ts
									
										
									
									
									
										Normal 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); | ||||
|     } | ||||
| 
 | ||||
| } | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue