GUI: add button to obstruct door + add figures and such to assignment HTML
This commit is contained in:
parent
fffd65370f
commit
8ffb3e097f
15 changed files with 497 additions and 8 deletions
|
|
@ -1,6 +1,6 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<xmi:XMI xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:notation="http://www.eclipse.org/gmf/runtime/1.0.2/notation" xmlns:sgraph="http://www.yakindu.org/sct/sgraph/2.0.0">
|
||||
<sgraph:Statechart xmi:id="_KuVP4GBDEe2R-oGCKnTAVw" specification="// DO NOT CHANGE
@EventDriven
@SuperSteps(no)
@ParentFirstExecution

// DO NOT CHANGE THE SEMANTICS
@EventDriven
@SuperSteps(no)
@ParentFirstExecution


interface:
	// DOT CHANGE THE INTERFACE

	// You can use these values in your Statechart
	// and in your tests:
	const LOW: integer = 0
	const HIGH: integer = 1 
	const LOW_LVL: integer = 500
	const HIGH_LVL: integer = 1500

	in event requestLvlChange
	in event waterLvl: integer
	in event resume
	
	in event doorObstructed: integer

	out event setRequestPending: boolean
	out event setSensorBroken
	out event openFlow: integer
	out event closeFlow: integer
	out event openDoors: integer
	out event closeDoors: integer
	out event greenLight: integer
	out event redLight: integer
	
internal:
	// You are allowed (and probably should)
	// declare internal events and internal variables
	// in this section..." name="LockController">
|
||||
<sgraph:Statechart xmi:id="_KuVP4GBDEe2R-oGCKnTAVw" specification="// DO NOT CHANGE
@EventDriven
@SuperSteps(no)
@ParentFirstExecution

// DO NOT CHANGE THE SEMANTICS
@EventDriven
@SuperSteps(no)
@ParentFirstExecution


interface:
	// DOT CHANGE THE INTERFACE

	// You can use these values in your Statechart
	// and in your tests:
	const LOW: integer = 0
	const HIGH: integer = 1 
	const LOW_LVL: integer = 500
	const HIGH_LVL: integer = 1500

	in event requestLvlChange
	in event waterLvl: integer
	in event resume
	
	in event doorObstructed

	out event setRequestPending: boolean
	out event setSensorBroken
	out event openFlow: integer
	out event closeFlow: integer
	out event openDoors: integer
	out event closeDoors: integer
	out event greenLight: integer
	out event redLight: integer
	
internal:
	// You are allowed (and probably should)
	// declare internal events and internal variables
	// in this section..." name="LockController">
|
||||
<regions xmi:id="_Kuavc2BDEe2R-oGCKnTAVw" name="main region">
|
||||
<vertices xsi:type="sgraph:State" xmi:id="_BZTF4GTzEe22Ao6AjWtBXA" name="O" incomingTransitions="_dzToYGTzEe22Ao6AjWtBXA">
|
||||
<regions xmi:id="_BZTs8mTzEe22Ao6AjWtBXA" name="r1">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue