Outils pour utilisateurs

Outils du site


projets:oc:oc_2013_2014:bbright

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édentes Révision précédente
Prochaine révision
Révision précédente
projets:oc:oc_2013_2014:bbright [2014/02/19 23:07]
etudiant_oc_2013_2014 [Project Files:]
projets:oc:oc_2013_2014:bbright [2014/02/20 13:34] (Version actuelle)
etudiant_oc_2013_2014 [Project Files:]
Ligne 69: Ligne 69:
   - PhidgetContainer (Bean_BBRIGHT):​ http://​www.flickr.com/​photos/​113754118@N06/​12611899743/​   - PhidgetContainer (Bean_BBRIGHT):​ http://​www.flickr.com/​photos/​113754118@N06/​12611899743/​
   - DataBaseContainer (Bean_DataBase):​ http://​www.flickr.com/​photos/​113754118@N06/​12611806275/​   - DataBaseContainer (Bean_DataBase):​ http://​www.flickr.com/​photos/​113754118@N06/​12611806275/​
- 
- 
 ==== Specifications of the interface of high added value service ==== ==== Specifications of the interface of high added value service ====
   - Monitoring user's dental hygiene   - Monitoring user's dental hygiene
Ligne 129: Ligne 127:
         * ServerBean.cs (managed brush event and switch led)         * ServerBean.cs (managed brush event and switch led)
           * [[https://​drive.google.com/​file/​d/​0B6C5fyyBS3aoUExxZGZQMEFPd2s/​edit?​usp=sharing]]           * [[https://​drive.google.com/​file/​d/​0B6C5fyyBS3aoUExxZGZQMEFPd2s/​edit?​usp=sharing]]
 +
 +This class do many things. First of all it subscribe to event send by the embedded container and send an event with rich values, this value are send only when brush are release and contain the duration of the use of the brush. Secondly, he managed all the LED of the object and according to the event, it swith red/green light on/off. Finally, it get the best frequency time to use a brush through webservices,​ and when the time is over, it switch the appropriate light on.
 +
         * WebServices.cs (get frequency value in webservices)         * WebServices.cs (get frequency value in webservices)
           * [[https://​drive.google.com/​file/​d/​0B6C5fyyBS3aobUV3cDRwanpVSlk/​edit?​usp=sharing]]           * [[https://​drive.google.com/​file/​d/​0B6C5fyyBS3aobUV3cDRwanpVSlk/​edit?​usp=sharing]]
 +This service class is used to pick up the value of the best time frequency through webservices.
  
      * **DataBase container**      * **DataBase container**
Ligne 137: Ligne 139:
         * DLL of the high added value          * DLL of the high added value 
           * [[https://​drive.google.com/​file/​d/​0B7w-0zGVI5c1YnRvVkhhMjRsLWc/​edit?​usp=sharing]]           * [[https://​drive.google.com/​file/​d/​0B7w-0zGVI5c1YnRvVkhhMjRsLWc/​edit?​usp=sharing]]
-        * DataBase.cs (managed a CSV database) 
-          * [[https://​drive.google.com/​file/​d/​0B6C5fyyBS3aoSEJSZE9oem5GX3c/​edit?​usp=sharing]] 
         * DataTransfert.cs (JSON object used to communicate with the High added value)         * DataTransfert.cs (JSON object used to communicate with the High added value)
           * [[https://​drive.google.com/​file/​d/​0B6C5fyyBS3aoQV9TX2ZJWmx5WHM/​edit?​usp=sharing]]           * [[https://​drive.google.com/​file/​d/​0B6C5fyyBS3aoQV9TX2ZJWmx5WHM/​edit?​usp=sharing]]
 +This class is used with JSON DLL listed above, to send parsed object from the high added value service to the database service in JSON format.
         * Logs.cs (object witch reprent a LOG)         * Logs.cs (object witch reprent a LOG)
           * [[https://​drive.google.com/​file/​d/​0B6C5fyyBS3aoeGNVdFJYSHVMWEU/​edit?​usp=sharing]]           * [[https://​drive.google.com/​file/​d/​0B6C5fyyBS3aoeGNVdFJYSHVMWEU/​edit?​usp=sharing]]
 +This class is a simple definition of a Log.
         * LogsManagment.cs (service class to write in CSV file)         * LogsManagment.cs (service class to write in CSV file)
           * [[https://​drive.google.com/​file/​d/​0B6C5fyyBS3aocHgxMnQ3SUJyLW8/​edit?​usp=sharing]]           * [[https://​drive.google.com/​file/​d/​0B6C5fyyBS3aocHgxMnQ3SUJyLW8/​edit?​usp=sharing]]
 +This class is used to write a Log object into a CSV file.
 +        * DataBase.cs (managed a CSV database)
 +          * [[https://​drive.google.com/​file/​d/​0B6C5fyyBS3aoSEJSZE9oem5GX3c/​edit?​usp=sharing]]
 +This class contain a method that it called when the high added value service send an event, this method create a Log object and save it into a csv file thanks to the LogsManagment class.
   ​   ​
 == Chesklist to install the embedded service on the object ​ == == Chesklist to install the embedded service on the object ​ ==
Ligne 151: Ligne 157:
   - Send BBright.dll and Beans.dll in the same folder (all the DLL listed above)   - Send BBright.dll and Beans.dll in the same folder (all the DLL listed above)
   - lauch this command :    - lauch this command : 
-<code bash>​mono ...</​code>​+<code bash>​mono ​Container.exe –r /root/Beans –l /​root/​PhidgetContainerExported.wcc –n BBright</​code>​ 
 +Be careful to use absolute path.
  
 == Chesklist to install the remote service/​application on the PC == == Chesklist to install the remote service/​application on the PC ==
Ligne 167: Ligne 174:
  
 ==== Results of the relations with Reims (being factual without personal opinion) ==== ==== Results of the relations with Reims (being factual without personal opinion) ====
 +There are many difference between what we ask and what we received :
 +  *  We wanted to put the phidget down at the horizontal but finally the phidget was behind at the vertical
 +  *  We wanted to add baskests to put two toothpaste but finally not even one was realise
 +  *  We sent a design of what we wanted and we receive totally something else (in our sketch the support for teethbrush was fixed to the socle but finally there were 4 supports to each teethbrush that ware removable).
 +
 +We were warn the day before that the object couldn'​t be modified anymore.
 +
 +Once we received the object, we tried to put our sensors and leds but for sensors we didn't have enought space to put them (missing some millimeters 2-4).
 +
  
 ==== Prospects : ==== ==== Prospects : ====
projets/oc/oc_2013_2014/bbright.1392847635.txt.gz · Dernière modification: 2014/02/19 23:07 par etudiant_oc_2013_2014