Skip to content

Commit

Permalink
removed definition from HAZARD; mod'd Turnstile accordingly
Browse files Browse the repository at this point in the history
  • Loading branch information
kityansiu committed Dec 1, 2021
1 parent 3f5eb7d commit 623644a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 8 deletions.
3 changes: 0 additions & 3 deletions RACK-Ontology/ontology/HAZARD.sadl
Expand Up @@ -30,9 +30,6 @@ HAZARD
(note "HAZARD as identified by some HAZARD_IDENTIFICATION ACTIVITY, to be assessed for certification")
is a type of ENTITY.

definition (note "Description of the HAZARD") describes HAZARD with values of type string.
definition describes HAZARD with at most 1 value.

H:source (note "ENTITY(s) that participate in causing this HAZARD") describes HAZARD with values of type ENTITY.
H:source is a type of wasImpactedBy.

Expand Down
@@ -1,4 +1,4 @@
identifier,dataInsertedBy_identifier,definition,source_identifier,wasDerivedFrom_identifier
identifier,dataInsertedBy_identifier,description,source_identifier,wasDerivedFrom_identifier
H-1,TurnstileIngestion-HazardAssessment,System Crash,Turnstile,
H-1.1,TurnstileIngestion-HazardAssessment,Integer Under Flow,,H-1
H-1.2,TurnstileIngestion-HazardAssessment,Integer Over Flow,,H-1
Expand Down
8 changes: 4 additions & 4 deletions Turnstile-Example/TurnstileDataCreation_HazardAssessment.py
Expand Up @@ -30,19 +30,19 @@ def CreateCdrs():


Add.HAZARD(identifier="H-1",
definition="System Crash",
description="System Crash",
source_identifier = "Turnstile")

Add.HAZARD(identifier="H-1.1",
definition="Integer Under Flow",
description="Integer Under Flow",
wasDerivedFrom_identifier = "H-1")

Add.HAZARD(identifier="H-1.2",
definition="Integer Over Flow",
description="Integer Over Flow",
wasDerivedFrom_identifier = "H-1")

Add.HAZARD(identifier="H-2",
definition="Park Exceeds Capacity",
description="Park Exceeds Capacity",
source_identifier = "Turnstile")

createCDR("http://rack001/turnstiledata")
Expand Down

0 comments on commit 623644a

Please sign in to comment.