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:14] – [Software Specifications and Distribution of the high level service for the user] 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 176: 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 203: Ligne 208:
  
  
-1- Button : to start system.+**1- Button :** to start system.
  
-2- Timer : to start verification services processes every k=15 seconds.+**2- Timer :** to start verification services processes every k=15 seconds.
  
-3- FreshVaseGoogleCalendarServiceBean : Verify all user events in google calendar and decide if it should run the system or not.+**3- FreshVaseGoogleCalendarServiceBean :** Verify all user events in google calendar and decide if it should run the system or not.
  
-4- FreshVaseWebServiceSMS : Verify if the user send a message to stop system or start it with specified parameters like speed, start time.+**4- FreshVaseWebServiceSMS :** Verify if the user send a message to stop system or start it with specified parameters like speed, start time.
  
-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.+==> 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.
  
 +__Methods :__
  
-**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. 
  
-**Methods**+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).
  
 +Void Set_Level1State(Boolean) :define the led level 1 state.
  
-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_level2state(Boolean) :define the led level 2 state.
  
-Void Set_Level1State(booblean) :define the led state.+Void Set _level3state(Boolean) :define the led level 3 state.
  
-Void Set_level2state(booblean) :define the led 2 state.+void Set_MyMotorState(Boolean) :define the motor state .
  
-Void Set _evel3state(booblean) :define the led 2 state.+void SetMymotorVelocity(Int 32) : define the motor rotation speed.
  
-Set MyMotorState(boolean) :define the motor state .+__Events :__
  
-Set Mymotorvelocity(int 32) define the motor rotation speed.+ledLevel1StateChanged event started when led1 state changed.
  
-**Events**+LedLevel2StateChanged : event started when led2 state changed.
  
-ledLevel1StateChanged :event started when led1 state changed.+LedLevel3StateChanged : event started when led3 state changed.
  
-LedLevel2StateChanged:event started when led2 state changed.+MotorStateChanged : event started when motor state changed.
  
-LedLevel3StateChanged:event started when led3 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.
  
-MotorStateChanged : event started when motor state changed(stop,start). 
  
-MotorVelocityChanged : event activated when motor velocity state changed and the velocity is the ratio of the motor's unloaded RPM to the peak (not RMS) voltage on the wires connected to the coils. 
  
-**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 .+**5- ToString :** to convert motor speed gotten as int to string.
  
-**Methods**:+**6- FreshVaseDevice_Functional_0 :** Fresh Vase Device which embedded all functionalities of device such as setLedLevel2 and setMotorState.
  
  
-Void Get_FreshVaseStateFromGoogle() :Receive descion to lunch the system from events.+==> Google Calender is free time-management web application created by Google which allows to create an event in order to activate our FreshVase, Our bean contains :
  
-Void start verification process() :Start a thread program excecuting recuperation data process from Google Calender.+__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 262: Ligne 269:
 Void Set_ledlevel3State(boolean). Void Set_ledlevel3State(boolean).
  
-**Events** :+__Events :__
  
 FreshVaseStateChanged.  FreshVaseStateChanged. 
Ligne 275: 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.1424135684.txt.gz · Dernière modification : 2015/02/17 01:14 de gharsaly