Outils pour utilisateurs

Outils du site


projets:ocs:20142015:gr10

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentesRévision précédente
Prochaine révision
Révision précédente
projets:ocs:20142015:gr10 [2015/02/17 01:08] – [Software Specifications and Distribution of the connected Object] gharsalyprojets:ocs:20142015:gr10 [2015/02/17 15:54] (Version actuelle) – [GROUP GR10] gharsaly
Ligne 8: Ligne 8:
  
 === MAIN INFORMATIONS about the Project === === MAIN INFORMATIONS about the Project ===
 +
 +This is a general conceptual description of our system with a certain technical level of abstraction.
 +
 +{{https://raw.githubusercontent.com/HAYKEL88/FreshVase/master/Docs/Pictures/Decription.jpg?600x350}}
  
 === MEMBERS === === MEMBERS ===
Ligne 139: Ligne 143:
  
 **Phidget Container** : **Phidget Container** :
 +
 +Here we put the Phidget container container implemented on wcomp, to generate later our UPnP device as a UPnP Proxy Wizard.
  
  
Ligne 147: Ligne 153:
 We have used: We have used:
  
-Four BoolMethodProbe :+//**Four BoolMethodProbe :**//
  
 1- setLedLevel1 : to set motor level 1 led state (true or false). 1- setLedLevel1 : to set motor level 1 led state (true or false).
Ligne 157: Ligne 163:
 4- setMotorState : to set motor state (true or false). 4- setMotorState : to set motor state (true or false).
  
-one StringMethodProbe :+//**One StringMethodProbe :**//
  
 1- stringSetVelocity : to set motor speed (from -100 to +100) 1- stringSetVelocity : to set motor speed (from -100 to +100)
  
-and two Beans :+//**Two Beans :**//
  
 1- StringToInt : Bean to convert any string value to an int value, used to convert speed gotten from stringSetVelocity to pass it to the motor controller bean. 1- StringToInt : Bean to convert any string value to an int value, used to convert speed gotten from stringSetVelocity to pass it to the motor controller bean.
Ligne 174: Ligne 180:
 == Software Distribution of the connected Object == == Software Distribution of the connected Object ==
  
-// Here, put all the files needed to build, to compile and to deploy all your software developments//+// Here, we put all the files needed to build, to compile and to deploy all our software developments of the connected object//
  
-  * Embedded Software in the connected object    
-    * All the instructions on what must be installed before deployment of the developed software : 
-    * Binary distribution of the developed software for the object and how to install (ex. DLL of new beans and wcc of the WComp the assembly) : 
-    * Sources distribution of the developed software  and how to build the binary distribution (ex. sources of new beans for WComp): 
-// including the list and the  links for all prerequired software // 
-  
-  * Mobile Phone Software 
-    * The kind of  smart phone that you chose (Reference, Android ? IoS ? Windows Phone X.X ?) 
-    * Binary distribution of the developed software for the phone and how to install  : 
-    * Sources distribution of the developed software  and how to build the binary distribution : 
-// including the list and the  links for all prerequired software // 
  
 +    * Download SharpDevelop varsion 4.4 or 3.0 from this [[http://www.icsharpcode.net/opensource/sd/download/|link]]
 +    * Download Bonjour software from this [[https://www.apple.com/fr/support/bonjour/|link]]
 +    * Download WComp from this [[http://www.wcomp.fr/installation|link]]
 +    * Download Phidget libraries with these commands:
 +wget http://www.phidgets.com/downloads/libraries/Phidget21-windevel_2.1.8.20140924.zip
 +unzip Phidget21-windevel_2.1.8.20140924.zip
 +    * Download MotorControllerBean DLL from this [[https://github.com/HAYKEL88/FreshVase/blob/master/MotorControlBean/MotorControlBean/bin/Debug/MotorControlBean.dll?raw=true|link]]
 +    * Download StringToIntBean DLL from this [[https://github.com/HAYKEL88/FreshVase/blob/master/StringToInt/StringToInt/bin/Debug/StringToInt.dll|link]]
 +    * Download Phidget Container assembly from this [[https://github.com/HAYKEL88/FreshVase/raw/master/PhidgetFinal.wcc|link]]
 +    * Finally, it remains for you to deploy the archive containing Wcomp to the place that suits you best. You recover it at this [[http://trolen.polytech.unice.fr/cours/oc/td7/private/|link]]
 +    * Now, you can test your UPnP device with the following command :
 +mono ContainerMono.exe –r ../Beans –l PhidgetFinal.wcc –n nomDuDispositifUPnP –p port
 ==== Software Specifications and Distribution of the high level service for the user ==== ==== Software Specifications and Distribution of the high level service for the user ====
  
Ligne 195: Ligne 202:
 In order to emphasize our project we have used two Web Services serving to remotely control the vase SMS(SMS Web Service,Google Calender). In order to emphasize our project we have used two Web Services serving to remotely control the vase SMS(SMS Web Service,Google Calender).
  
-**SMS Web Service** gives to the user the possibility to manage its FreshVase via sending SMS and more explicitly it contains a set of events and methods implemented independetly in a bean.+**WCOMP Container** :
  
-**Methods**+{{https://raw.githubusercontent.com/HAYKEL88/FreshVase/master/Docs/WCOMP/FinalWcompContainer.jpg?700x350 }}
  
  
-Void Get_SystemStateFromSms() : Get back the order send by user via Web SMS and holds in account three variables (the speed, the hour, the state). 
  
-Void Set_Level1State(booblean) :define the led state.+**1- Button :** to start system.
  
-Void Set_level2state(booblean) :define the led state.+**2- Timer :** to start verification services processes every k=15 seconds.
  
-Void Set _evel3state(booblean) :define the led 2 state.+**3- FreshVaseGoogleCalendarServiceBean :** Verify all user events in google calendar and decide if it should run the system or not.
  
-Set MyMotorState(boolean) :define the motor state .+**4- FreshVaseWebServiceSMS :** Verify if the user send a message to stop system or start it with specified parameters like speed, start time.
  
-Set Mymotorvelocity(int 32) : define the motor rotation speed. 
  
-**Events**+==> SMS Web Service gives the user the possibility to manage its FreshVase via sending SMS and more explicitly it contains a set of events and methods implemented independetly in a bean.
  
-ledLevel1StateChanged :event started when led1 state changed.+__Methods :__
  
-LedLevel2StateChanged:event started when led2 state changed. 
  
-LedLevel3StateChanged:event started when led3 state changed.+Void Get_SystemStateFromSms() Get back the order sent by user via SMS Web Service and holds in account three variables (the speed, the hour, the state).
  
-MotorStateChanged : event started when motor state changed(stop,start).+Void Set_Level1State(Boolean:define the led level 1 state.
  
-MotorVelocityChanged : event activated when motor velocity state changed and the velocity is the ratio of the motor's unloaded RPM to the peak (not RMSvoltage on the wires connected to the coils.+Void Set_level2state(Boolean:define the led level 2 state.
  
-**Google Calender** It’s a free time-management web application created by Google which allow s to create an event in order to activate our FreshVase .+Void Set _level3state(Boolean) :define the led level 3 state.
  
-**Methods**:+void Set_MyMotorState(Boolean) :define the motor state .
  
 +void SetMymotorVelocity(Int 32) : define the motor rotation speed.
  
-Void Get_FreshVaseStateFromGoogle() :Receive a descion to lunch the system from events.+__Events :__
  
-Void start verification process() :Start a thread program excecuting recuperation data process from Google Calender.+ledLevel1StateChanged : event started when led1 state changed. 
 + 
 +LedLevel2StateChanged : event started when led2 state changed. 
 + 
 +LedLevel3StateChanged : event started when led3 state changed. 
 + 
 +MotorStateChanged : event started when motor state changed. 
 + 
 +MotorVelocityChanged : event activated when motor velocity state changed, the velocity is the ratio of the motor's unloaded RPM to the peak (not RMS) voltage on the wires connected to the coils. 
 + 
 + 
 + 
 +**5- ToString :** to convert motor speed gotten as int to string. 
 + 
 +**6- FreshVaseDevice_Functional_0 :** Fresh Vase Device which embedded all functionalities of device such as setLedLevel2 and setMotorState. 
 + 
 + 
 +==> Google Calender is a free time-management web application created by Google which allows to create an event in order to activate our FreshVase, Our bean contains : 
 + 
 +__Methods :__ 
 + 
 +Void Get_FreshVaseStateFromGoogle() :Receive a decision to launch the system from events gotten from Google Calendar. 
 + 
 +Void startVerificationProcess() : Start a thread program excecuting recuperation data process from Google Calender.
  
 Void Set_freshVaseState(blooean). Void Set_freshVaseState(blooean).
Ligne 241: Ligne 269:
 Void Set_ledlevel3State(boolean). Void Set_ledlevel3State(boolean).
  
-**Events** :+__Events :__
  
 FreshVaseStateChanged.  FreshVaseStateChanged. 
Ligne 254: Ligne 282:
 == Software Distribution of the High Level Service for the user == == Software Distribution of the High Level Service for the user ==
  
-// Here, put all the files needed to build, to compile and to deploy all your software developments for the high level service// +// Here, we put all the files needed to build, to compile and to deploy all your software developments for the high level service//
- +
-    * All the instructions on what must be installed before deployment of the developed software (ex. software stack and WComp): +
-    * Binary distribution of the developed software for the object and how to install (ex. DLL of new beans and wcc of the WComp the assembly) : +
-    * Sources distribution of the developed software  and how to build the binary distribution (ex. sources of new beans in WComp): +
  
 +    * After you have installed all previous softwares you can download all beans projects from this [[https://github.com/HAYKEL88/FreshVase|link]].
 +    * Run SharpDevelop Software.
 +    * File --> new file --> WComp.Net --> Container.cs
 +    * From WComp.Net Menu run import.
 +    * Shoose FinalContainer.wcc which is previsouly downloaded.
 +    * Type Start Button to start High Level Service Program.
 +    * Enjoy !!!
 ==== VIDEO PICTURES and SCREENSHOTS ==== ==== VIDEO PICTURES and SCREENSHOTS ====
  
-// Here put all that can illustrate the results of your project with .. // +// Here we put a video that illustrate the results of our project  //
- +
-// VIDEO for demonstrations // +
- +
-// PICTURES of the object looking like a finished one //+
  
-// SCREENSHOTS of sofware applications and developments // +<html> 
 +<div  align="center"> 
 +<video width="640" height="480" controls> 
 +  <source src="https://github.com/HAYKEL88/FreshVase/blob/master/Docs/Video/FreshVase.mp4?raw=true" type="video/mp4"> 
 +  Your browser does not support the video tag. 
 +</video> 
 +</div> 
 +</html>
  
-==== INSTRUCTIONS AND REMINDERS ==== 
  
-== INSTRUCTIONS : == 
  
-  - //  Warning : everything must be written in english ....//  
-  - // Warning : every added file (ex. figures, picture, sources, binaries, video ...) must be added through a web links on a Web repository. You can use such a syntax to integrate the link in this page :// <code> [[http://example.com|Lien externe]] </code> 
-  - //For more informations on DokuWiki syntax go to// [[https://www.tigli.fr/doku.php?id=wiki:syntax|syntax dokuwiki]] 
projets/ocs/20142015/gr10.1424135310.txt.gz · Dernière modification : 2015/02/17 01:08 de gharsaly