<?xml version="1.0"?>
<net name="PN_REGA" type="iopt-flow">
  <place id="p001" x="385" y="30" init_marking="0">
    <name off_x="-10" off_y="-10" text="RegaOFF"/>
    <comment off_x="0" off_y="20" text="-"/>
  </place>
  <transition id="t002" x="385" y="160" priority="0">
    <name off_x="-10" off_y="-10" text="t002"/>
    <comment off_x="-10" off_y="20" text="-"/>
  </transition>
  <place id="p003" x="385" y="285" init_marking="0">
    <name off_x="-10" off_y="-10" text="RegaON"/>
    <comment off_x="0" off_y="20" text="-"/>
  </place>
  <transition id="t004" x="290" y="285" priority="0">
    <name off_x="-10" off_y="-10" text="t004"/>
    <comment off_x="-10" off_y="20" text="-"/>
  </transition>
  <transition id="t005" x="385" y="440" priority="0">
    <name off_x="-10" off_y="-10" text="t005"/>
    <comment off_x="-10" off_y="20" text="-"/>
  </transition>
  <transition id="t006" x="290" y="360" priority="0">
    <name off_x="-10" off_y="-10" text="t006"/>
    <comment off_x="-10" off_y="20" text="-"/>
  </transition>
  <arc id="a008" type="normal" source="p001" target="t002"/>
  <arc id="a009" type="normal" source="t002" target="p003"/>
  <arc id="a010" type="normal" source="p003" target="t006"/>
  <arc id="a011" type="normal" source="p003" target="t005"/>
  <arc id="a012" type="normal" source="p003" target="t004"/>
  <arc id="a013" type="normal" source="t006" target="p001" c1_x="-145" c1_y="-230" c2_x="0" c2_y="0"/>
  <arc id="a014" type="normal" source="t004" target="p001" c1_x="-75" c1_y="-135" c2_x="0" c2_y="0"/>
  <arc id="a015" type="normal" source="t005" target="p001" c1_x="225" c1_y="-250" c2_x="0" c2_y="0"/>
  <event id="HumSoloBaixa" x="60" y="160" mode="input"/>
  <event id="RegaON" x="740" y="160" mode="output"/>
  <event id="RegaOFF" x="740" y="440" mode="output"/>
  <event id="HumidadeSoloOK" x="65" y="440" mode="input"/>
  <event id="UtilizadorON" x="60" y="210" mode="input"/>
  <event id="TimerRega" x="60" y="360" mode="input"/>
  <arc id="a024" type="read" source="HumSoloBaixa" target="t002"/>
  <arc id="a026" type="read" source="t002" target="RegaON"/>
  <arc id="a027" type="read" source="t005" target="RegaOFF"/>
  <arc id="a028" type="read" source="HumidadeSoloOK" target="t005"/>
  <arc id="a030" type="read" source="TimerRega" target="t006"/>
  <arc id="a032" type="read" source="UtilizadorON" target="t002"/>
  <event id="UtilizadorOFF" x="60" y="285" mode="input"/>
  <arc id="a034" type="read" source="UtilizadorOFF" target="t004"/>
</net>
