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:14] – [Software Specifications and Distribution of the high level service for the user] 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 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 |
- | * 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 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 | + | ==> SMS Web Service gives the user the possibility to manage its FreshVase via sending SMS and more explicitly it contains a set of events |
+ | __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 |
- | Void Set_Level1State(booblean) :define the led 1 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) | + | __Events |
- | Set Mymotorvelocity(int 32) : define the motor rotation speed. | + | ledLevel1StateChanged |
- | **Events** | + | LedLevel2StateChanged : event started when led2 state changed. |
- | ledLevel1StateChanged | + | LedLevel3StateChanged |
- | LedLevel2StateChanged:event started when led2 state changed. | + | MotorStateChanged |
- | LedLevel3StateChanged: | + | MotorVelocityChanged |
- | MotorStateChanged : event started when motor state changed(stop, | ||
- | MotorVelocityChanged : event activated when motor velocity state changed and the velocity is the ratio of the motor' | ||
- | **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() : | + | ==> Google Calender is a free time-management web application created by Google which allows |
- | 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 | + | |
+ | * 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.1424135684.txt.gz · Dernière modification : 2015/02/17 01:14 de gharsaly