<!--Generated by SharpWComp-3.2.2.1420 on 12/02/2016 14:49:07-->
<application>
  <instance type="WComp.Beans.Weather" name="weather1" x="200" y="344" />
  <instance type="System.Windows.Forms.TextBox" name="textBox1" x="192" y="424">
    <property name="Text">"mfalouseck@gmail.com"</property>
    <property name="Location">new System.Drawing.Point(192, 424)</property>
    <property name="TabIndex">0</property>
  </instance>
  <instance type="System.Windows.Forms.Label" name="mail_message" x="536" y="152">
    <property name="Text">"Dear echecetmat06@gmail.com

Your perch has taken a picture for you, here is the meta information:
	Location
	43.7031,7.2661

	Weather
	{"coord":{"lon":2.35,"lat":48.86},"weather":[{"id":802,"main":"Clouds","description":"scattered clouds","icon":"03n"}],"base":"cmc stations","main":{"temp":277.484,"pressure":1007.24,"humidity":73,"temp_min":277.484,"temp_max":277.484,"sea_level":1019.6,"grnd_level":1007.24},"wind":{"speed":2.28,"deg":229.503},"clouds":{"all":48},"dt":1455214638,"sys":{"message":0.0081,"country":"FR","sunrise":1455174322,"sunset":1455210299},"id":2978048,"name":"Saint-Merri","cod":200}


"</property>
    <property name="Location">new System.Drawing.Point(536, 152)</property>
    <property name="Size">new System.Drawing.Size(100, 32)</property>
    <property name="TabIndex">0</property>
  </instance>
  <instance type="WComp.Beans.SendMailBean" name="sendMailBean1" x="360" y="384">
    <property name="Location">""</property>
    <property name="Weather">"{"cod":"404","message":"Error: Not found city"}
"</property>
    <property name="UserAddress">"echecetmat06@gmail.com"</property>
  </instance>
  <instance type="System.Windows.Forms.Label" name="mail_user" x="536" y="232">
    <property name="Text">"echecetmat06@gmail.com"</property>
    <property name="Location">new System.Drawing.Point(536, 232)</property>
    <property name="Size">new System.Drawing.Size(100, 32)</property>
    <property name="TabIndex">0</property>
  </instance>
  <instance type="System.Windows.Forms.Label" name="mail_weather" x="536" y="376">
    <property name="Text">"{"cod":"404","message":"Error: Not found city"}
"</property>
    <property name="Location">new System.Drawing.Point(536, 376)</property>
    <property name="Size">new System.Drawing.Size(100, 32)</property>
    <property name="TabIndex">0</property>
  </instance>
  <instance type="System.Windows.Forms.Label" name="mail_location" x="536" y="304">
    <property name="Text">"43.7031,7.2661"</property>
    <property name="Location">new System.Drawing.Point(536, 304)</property>
    <property name="Size">new System.Drawing.Size(100, 32)</property>
    <property name="TabIndex">0</property>
  </instance>
  <instance type="WComp.BasicBeans.StringComparator" name="stringComparator1" x="224" y="112">
    <property name="ReferenceValue">"True"</property>
  </instance>
  <instance type="System.Windows.Forms.Button" name="disconnect" x="16" y="24">
    <property name="Location">new System.Drawing.Point(16, 24)</property>
    <property name="TabIndex">0</property>
  </instance>
  <instance type="System.Windows.Forms.Button" name="connect" x="16" y="88">
    <property name="Location">new System.Drawing.Point(16, 88)</property>
    <property name="Size">new System.Drawing.Size(75, 18)</property>
    <property name="TabIndex">0</property>
  </instance>
  <instance type="WComp.Logic.AND" name="aND1" x="360" y="168">
    <property name="nb_input">2</property>
  </instance>
  <instance type="WComp.BasicBeans.Threshold" name="threshold1" x="232" y="216">
    <property name="Value">"111"</property>
    <property name="ThresholdValue">(System.Double)50</property>
    <property name="Inverted">false</property>
    <property name="Min">(System.Double)9</property>
    <property name="Max">(System.Double)245</property>
  </instance>
  <instance type="WComp.BasicBeans.ToString" name="toString1" x="448" y="56" />
  <instance type="System.Windows.Forms.Label" name="label3" x="536" y="56">
    <property name="Text">"False"</property>
    <property name="Location">new System.Drawing.Point(536, 56)</property>
    <property name="Size">new System.Drawing.Size(100, 32)</property>
    <property name="TabIndex">0</property>
  </instance>
  <instance type="WComp.WebServices.SendMail" name="sendMail1" x="360" y="272">
    <property name="SMTPHost">"smtp.unice.fr"</property>
    <property name="To">"levansuu@polytech.unice.fr"</property>
    <property name="Subject">"Perche event"</property>
    <property name="From">"julien.le-van-suu@etu.unice.fr"</property>
  </instance>
  <instance type="WComp.BasicBeans.EventFilter" name="eventFilter1" x="224" y="8">
    <property name="Propagate">false</property>
  </instance>
  <instance type="WComp.UPnPDevice.perche_Functional_0" name="perche_Functional_01" x="40" y="176">
    <property name="Uri">"http://192.168.1.191:55547/"</property>
  </instance>
  <instance type="System.Windows.Forms.Label" name="label2" x="16" y="320">
    <property name="Text">"False"</property>
    <property name="Location">new System.Drawing.Point(16, 320)</property>
    <property name="Size">new System.Drawing.Size(100, 32)</property>
    <property name="TabIndex">0</property>
  </instance>
  <instance type="System.Windows.Forms.Label" name="label1" x="16" y="392">
    <property name="Text">"111"</property>
    <property name="Location">new System.Drawing.Point(16, 392)</property>
    <property name="Size">new System.Drawing.Size(100, 32)</property>
    <property name="TabIndex">0</property>
  </instance>
  <link>
    <source name="weather1">
      <event name="GetJsonEvent" />
    </source>
    <destination name="sendMailBean1">
      <method name="set_Weather">
        <parameter type="System.String" />
      </method>
    </destination>
  </link>
  <link>
    <source name="textBox1">
      <event name="Click" />
    </source>
    <destination name="sendMailBean1">
      <method name="set_UserAddress">
        <parameter type="System.String" call="get_Text" />
      </method>
    </destination>
  </link>
  <link>
    <source name="sendMailBean1">
      <event name="MessageChanged" />
    </source>
    <destination name="mail_message">
      <method name="set_Text">
        <parameter type="System.String" />
      </method>
    </destination>
  </link>
  <link>
    <source name="sendMailBean1">
      <event name="UserAddressChanged" />
    </source>
    <destination name="mail_user">
      <method name="set_Text">
        <parameter type="System.String" />
      </method>
    </destination>
  </link>
  <link>
    <source name="sendMailBean1">
      <event name="LocationChanged" />
    </source>
    <destination name="mail_location">
      <method name="set_Text">
        <parameter type="System.String" />
      </method>
    </destination>
  </link>
  <link>
    <source name="sendMailBean1">
      <event name="WeatherChanged" />
    </source>
    <destination name="mail_weather">
      <method name="set_Text">
        <parameter type="System.String" />
      </method>
    </destination>
  </link>
  <link>
    <source name="threshold1">
      <event name="ThresholdReachedBool" />
    </source>
    <destination name="aND1">
      <method name="In2">
        <parameter type="System.Boolean" />
      </method>
    </destination>
  </link>
  <link>
    <source name="stringComparator1">
      <event name="MatchedBoolean" />
    </source>
    <destination name="aND1">
      <method name="In1">
        <parameter type="System.Boolean" />
      </method>
    </destination>
  </link>
  <link>
    <source name="toString1">
      <event name="Output" />
    </source>
    <destination name="label3">
      <method name="set_Text">
        <parameter type="System.String" />
      </method>
    </destination>
  </link>
  <link>
    <source name="weather1">
      <event name="GetJsonEvent" />
    </source>
    <destination name="sendMail1">
      <method name="SendMessage">
        <parameter type="System.String" />
      </method>
    </destination>
  </link>
  <link>
    <source name="aND1">
      <event name="ComposedAND" />
    </source>
    <destination name="toString1">
      <method name="Input">
        <parameter type="System.Boolean" />
      </method>
    </destination>
  </link>
  <link>
    <source name="aND1">
      <event name="ComposedAND" />
    </source>
    <destination name="eventFilter1">
      <method name="set_Propagate">
        <parameter type="System.Boolean" />
      </method>
    </destination>
  </link>
  <link>
    <source name="aND1">
      <event name="ComposedAND" />
    </source>
    <destination name="eventFilter1">
      <method name="FireEvent" />
    </destination>
  </link>
  <link>
    <source name="perche_Functional_01">
      <event name="readMotion_Event" />
    </source>
    <destination name="label2">
      <method name="set_Text">
        <parameter type="System.String" />
      </method>
    </destination>
  </link>
  <link>
    <source name="perche_Functional_01">
      <event name="readLight_Event" />
    </source>
    <destination name="label1">
      <method name="set_Text">
        <parameter type="System.String" />
      </method>
    </destination>
  </link>
  <link>
    <source name="connect">
      <event name="Click" />
    </source>
    <destination name="perche_Functional_01">
      <method name="_TryToConnect" />
    </destination>
  </link>
  <link>
    <source name="disconnect">
      <event name="Click" />
    </source>
    <destination name="perche_Functional_01">
      <method name="_Disconnect" />
    </destination>
  </link>
  <link>
    <source name="perche_Functional_01">
      <event name="readMotion_Event" />
    </source>
    <destination name="stringComparator1">
      <method name="Compare">
        <parameter type="System.String" />
      </method>
    </destination>
  </link>
  <link>
    <source name="perche_Functional_01">
      <event name="readLight_Event" />
    </source>
    <destination name="threshold1">
      <method name="set_Value">
        <parameter type="System.String" />
      </method>
    </destination>
  </link>
  <link>
    <source name="eventFilter1">
      <event name="EventOut" />
    </source>
    <destination name="perche_Functional_01">
      <method name="takePic">
        <parameter type="System.Boolean" call="get_Propagate" />
      </method>
    </destination>
  </link>
  <link>
    <source name="eventFilter1">
      <event name="EventOut" />
    </source>
    <destination name="perche_Functional_01">
      <method name="boolMethodProbe1">
        <parameter type="System.Boolean" call="get_Propagate" />
      </method>
    </destination>
  </link>
</application>