Changeset View
Changeset View
Standalone View
Standalone View
src/activities/digital_electricity/Dataset.qml
Show First 20 Lines • Show All 156 Lines • ▼ Show 20 Line(s) | 146 | { | |||
---|---|---|---|---|---|
157 | ] | 157 | ] | ||
158 | }, | 158 | }, | ||
159 | // level 2 | 159 | // level 2 | ||
160 | { | 160 | { | ||
161 | inputComponentList: [zero, one], | 161 | inputComponentList: [zero, one], | ||
162 | playAreaComponentList: [andGate, digitalLight], | 162 | playAreaComponentList: [andGate, digitalLight], | ||
163 | determiningComponentsIndex: [1], | 163 | determiningComponentsIndex: [1], | ||
164 | wires: [ [0, 0, 1, 0] ], // from_component_index, from_terminal_no, to_component_index, to_terminal_no | 164 | wires: [ [0, 0, 1, 0] ], // from_component_index, from_terminal_no, to_component_index, to_terminal_no | ||
165 | playAreaComponentPositionX: [0.4, 0.6], | 165 | playAreaComponentPositionX: [0.4,0.6], | ||
166 | playAreaComponentPositionY: [0.3, 0.3], | 166 | playAreaComponentPositionY: [0.3,0.3], | ||
167 | type: [problemType.lightTheBulb], | 167 | type: [problemType.lightTheBulb], | ||
168 | introMessage: [ | 168 | introMessage: [ | ||
169 | qsTr("The AND gate produces an output of one when both of its input terminals are of value 1."), | 169 | qsTr("The AND gate produces an output of one when both of its input terminals are of value 1."), | ||
170 | qsTr("Turn the digital light on using an AND gate and the inputs provided.") | 170 | qsTr("Turn the digital light on using an AND gate and the inputs provided.") | ||
171 | ] | 171 | ] | ||
172 | }, | 172 | }, | ||
173 | // level 3 | 173 | // level 3 | ||
174 | { | 174 | { | ||
▲ Show 20 Lines • Show All 306 Lines • Show Last 20 Lines |