projets:ocs:20142015:gr10
Différences
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
projets:ocs:20142015:gr10 [2015/02/17 01:08] – [Software Specifications and Distribution of the connected Object] gharsaly | projets: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:// | ||
=== 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 : | + | // |
1- stringSetVelocity : to set motor speed (from -100 to +100) | 1- stringSetVelocity : to set motor speed (from -100 to +100) | ||
- | and 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 |
- | * 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 | ||
- | // 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 | ||
- | // including the list and the links for all prerequired software // | ||
+ | * Download SharpDevelop varsion 4.4 or 3.0 from this [[http:// | ||
+ | * Download Bonjour software from this [[https:// | ||
+ | * Download WComp from this [[http:// | ||
+ | * Download Phidget libraries with these commands: | ||
+ | wget http:// | ||
+ | unzip Phidget21-windevel_2.1.8.20140924.zip | ||
+ | * Download MotorControllerBean DLL from this [[https:// | ||
+ | * Download StringToIntBean DLL from this [[https:// | ||
+ | * Download Phidget Container assembly from this [[https:// | ||
+ | * Finally, it remains for you to deploy the archive containing Wcomp to the place that suits you best. You recover it at this [[http:// | ||
+ | * 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, | In order to emphasize our project we have used two Web Services serving to remotely control the vase SMS(SMS Web Service, | ||
- | **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:// |
- | 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 1 state. | + | **1- Button :** to start system. |
- | Void Set_level2state(booblean) :define the led 2 state. | + | **2- Timer :** to start verification services processes every k=15 seconds. |
- | Void Set _evel3state(booblean) | + | **3- FreshVaseGoogleCalendarServiceBean |
- | Set MyMotorState(boolean) | + | **4- FreshVaseWebServiceSMS |
- | 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 | + | __Methods |
- | LedLevel2StateChanged: | ||
- | LedLevel3StateChanged:event started when led3 state changed. | + | Void Get_SystemStateFromSms() |
- | 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' | + | Void Set_level2state(Boolean) : |
- | **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) |
+ | void SetMymotorVelocity(Int 32) : define the motor rotation speed. | ||
- | Void Get_FreshVaseStateFromGoogle() | + | __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' | ||
+ | |||
+ | |||
+ | |||
+ | **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 | + | |
+ | * After you have installed all previous softwares you can download all beans projects from this [[https:// | ||
+ | * 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 | + | // 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 | + | < |
+ | < | ||
+ | <video width=" | ||
+ | <source src=" | ||
+ | Your browser does not support the video tag. | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
- | ==== 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 :// < | ||
- | - //For more informations on DokuWiki syntax go to// [[https:// |
projets/ocs/20142015/gr10.1424135310.txt.gz · Dernière modification : 2015/02/17 01:08 de gharsaly