<!--Generated by SharpWComp-3.2.2.1420 on 12/02/2016 13:28:48-->
<application>
  <instance type="WComp.BasicBeans.ToString" name="toString1" x="240" y="152" />
  <instance type="WComp.UPnPProbes.BoolMethodProbe" name="takePic" x="0" y="40" />
  <instance type="WComp.Beans.Command" name="command1" x="0" y="160">
    <property name="StrComm">"/home/pi/takepic.sh"</property>
    <property name="StrArgs">"/bin/bash"</property>
  </instance>
  <instance type="WComp.UPnPProbes.StringEventProbe" name="readLight" x="368" y="152" />
  <instance type="WComp.BasicBeans.ToString" name="toString2" x="240" y="304" />
  <instance type="WComp.UPnPProbes.StringEventProbe" name="readMotion" x="624" y="304" />
  <instance type="WComp.Phidgets.Precision_Light_Sensor" name="precision_Light_Sensor1" x="104" y="160">
    <property name="Value">0</property>
    <property name="Sensitivity">-1</property>
    <property name="Serial">0</property>
    <property name="Port">0</property>
    <property name="Type">"Precision_Light_Sensor"</property>
  </instance>
  <instance type="WComp.Phidgets.Motion_Sensor" name="motion_Sensor1" x="104" y="304">
    <property name="Value">0</property>
    <property name="Sensitivity">-1</property>
    <property name="Serial">0</property>
    <property name="Port">1</property>
    <property name="Type">"Motion_Sensor"</property>
  </instance>
  <instance type="WComp.BasicBeans.Threshold" name="threshold1" x="368" y="304">
    <property name="Value">"0"</property>
    <property name="ThresholdValue">(System.Double)300</property>
    <property name="Inverted">true</property>
    <property name="Min">(System.Double)0</property>
    <property name="Max">(System.Double)1000</property>
  </instance>
  <instance type="WComp.BasicBeans.ToString" name="toString3" x="504" y="304" />
  <instance type="WComp.Beans.Location" name="location1" x="480" y="40">
    <property name="Pressed">false</property>
  </instance>
  <instance type="WComp.UPnPProbes.BoolMethodProbe" name="boolMethodProbe1" x="248" y="32" />
  <instance type="WComp.UPnPProbes.StringEventProbe" name="getLat" x="632" y="32" />
  <instance type="WComp.UPnPProbes.StringEventProbe" name="getLon" x="616" y="144" />
  <instance type="WComp.UPnPProbes.StringEventProbe" name="stringEventProbe1" x="512" y="176" />
  <instance type="WComp.BasicBeans.EventFilter" name="eventFilter1" x="104" y="40" />
  <instance type="WComp.BasicBeans.EventFilter" name="eventFilter2" x="360" y="32" />
  <link>
    <source name="toString1">
      <event name="Output" />
    </source>
    <destination name="readLight">
      <method name="Output">
        <parameter type="System.String" />
      </method>
    </destination>
  </link>
  <link>
    <source name="precision_Light_Sensor1">
      <event name="ValueChanged" />
    </source>
    <destination name="toString1">
      <method name="Input">
        <parameter type="System.Int32" />
      </method>
    </destination>
  </link>
  <link>
    <source name="motion_Sensor1">
      <event name="ValueChanged" />
    </source>
    <destination name="toString2">
      <method name="Input">
        <parameter type="System.Int32" />
      </method>
    </destination>
  </link>
  <link>
    <source name="toString2">
      <event name="Output" />
    </source>
    <destination name="threshold1">
      <method name="set_Value">
        <parameter type="System.String" />
      </method>
    </destination>
  </link>
  <link>
    <source name="threshold1">
      <event name="ThresholdReachedBool" />
    </source>
    <destination name="toString3">
      <method name="Input">
        <parameter type="System.Boolean" />
      </method>
    </destination>
  </link>
  <link>
    <source name="toString3">
      <event name="Output" />
    </source>
    <destination name="readMotion">
      <method name="Output">
        <parameter type="System.String" />
      </method>
    </destination>
  </link>
  <link>
    <source name="location1">
      <event name="PressedChanged" />
    </source>
    <destination name="getLat">
      <method name="Output">
        <parameter type="System.String" call="get_Lat" />
      </method>
    </destination>
  </link>
  <link>
    <source name="location1">
      <event name="PressedChanged" />
    </source>
    <destination name="getLon">
      <method name="Output">
        <parameter type="System.String" call="get_Lon" />
      </method>
    </destination>
  </link>
  <link>
    <source name="location1">
      <event name="PressedChanged" />
    </source>
    <destination name="stringEventProbe1">
      <method name="Output">
        <parameter type="System.String" call="get_Locat" />
      </method>
    </destination>
  </link>
  <link>
    <source name="eventFilter1">
      <event name="EventOut" />
    </source>
    <destination name="command1">
      <method name="SendCommand" />
    </destination>
  </link>
  <link>
    <source name="boolMethodProbe1">
      <event name="Event" />
    </source>
    <destination name="eventFilter2">
      <method name="set_Propagate">
        <parameter type="System.Boolean" />
      </method>
    </destination>
  </link>
  <link>
    <source name="eventFilter2">
      <event name="EventOut" />
    </source>
    <destination name="location1">
      <method name="set_Pressed">
        <parameter type="System.Boolean" call="get_Propagate" />
      </method>
    </destination>
  </link>
  <link>
    <source name="takePic">
      <event name="Event" />
    </source>
    <destination name="eventFilter1">
      <method name="set_Propagate">
        <parameter type="System.Boolean" />
      </method>
    </destination>
  </link>
  <link>
    <source name="takePic">
      <event name="Event" />
    </source>
    <destination name="eventFilter1">
      <method name="FireEvent" />
    </destination>
  </link>
  <link>
    <source name="boolMethodProbe1">
      <event name="Event" />
    </source>
    <destination name="eventFilter2">
      <method name="FireEvent" />
    </destination>
  </link>
</application>