[tuxdroid-svn] r636 - in software/gadgets/battery_monitor/trunk: . Battery_monitor_svn Battery_moni
Status: Beta
Brought to you by:
ks156
From: Paul_R <c2m...@c2...> - 2007-10-19 08:47:23
|
Author: Paul_R Date: 2007-10-19 10:47:18 +0200 (Fri, 19 Oct 2007) New Revision: 636 Modified: software/gadgets/battery_monitor/trunk/Battery_monitor.tgf software/gadgets/battery_monitor/trunk/Battery_monitor_svn/Strings/fr_ALL.xml software/gadgets/battery_monitor/trunk/Battery_monitor_svn/about.xml software/gadgets/battery_monitor/trunk/Battery_monitor_svn/settings.xml software/gadgets/battery_monitor/trunk/Battery_monitor_svn/strings.xml Log: * Added the help file Modified: software/gadgets/battery_monitor/trunk/Battery_monitor.tgf =================================================================== (Binary files differ) Modified: software/gadgets/battery_monitor/trunk/Battery_monitor_svn/Strings/fr_ALL.xml =================================================================== --- software/gadgets/battery_monitor/trunk/Battery_monitor_svn/Strings/fr_ALL.xml 2007-10-18 14:44:01 UTC (rev 635) +++ software/gadgets/battery_monitor/trunk/Battery_monitor_svn/Strings/fr_ALL.xml 2007-10-19 08:47:18 UTC (rev 636) @@ -11,8 +11,40 @@ <widget_lblControl type='str'>Contrôle</widget_lblControl> <full type='str'>Les batteries sont pleines</full> <gui_conf_accept_bt type='str'>Valider</gui_conf_accept_bt> - <help_text type='str'> - </help_text> + <help_text type='str'>-- Les évènements : +Deux grands types d'évènements peuvent avoir lieu, contenant chacun diverses options : + +Les changements : +Les changements sont de évènements qui se produisent dans un laps de temps donné. +Les quatre types de changements sont : +- Chute +- Augmentation +- Une chute suivie d'une augmentation +- Une augmentation suivie d'une chute + +Par exemple, un évènement peut avoir lieu si le niveau de la batterie diminue de 0.1V dans un laps de temps de dix secondes. + +Les seuils : +Les évènements de seuils se déclenche lorsque le niveau de batterie atteint un certain niveau. +Le passage du seuil peut se faire : +- par une augmentation (dépassement du seuil) +- par une diminution (passage en dessous du seuil) +- dans les deux directions. + +-- Les fenêtres : +- La fenêtre de configuration : +Cette fenêtre reprend toutes les options de configuration du gadget, notamment le taux de rafraichissement ainsi que le nombre de points affichés sur le graphique peut être configuré. + +Des évènements, pouvant entraîner une notification, peuvent également être enregistrés. +Si aucun script externe n'est spécifié, un comportement de base se déclenchera. +Les évènements peuvent à tout moment être modifiés ou supprimés, par simple sélection de la ligne dans le tableau. + +Une option permet de rejeté les mesures lorsque les moteurs fonctionnent. + +- La fenêtre du gadget : +Cette fenêtre affiche le graphique de la batterie. +Lorsque cette fenêtre est affichée, les évènements enregistrés dans la fenêtre de configuration ne sont plus notifiés. +Cette fenêtre permet de tester diverses configurations et de les ajouter dans le tableau de configuration.</help_text> <conf_lblChange type='str'>Changement</conf_lblChange> <conf_lblBoth type='str'>Deux directions</conf_lblBoth> <widget_lblBtnApply type='str'>Appliquer</widget_lblBtnApply> @@ -35,7 +67,7 @@ <low type='str'>Le niveau des batteries est faible</low> <speaker_name type='str'>Bruno8k</speaker_name> <conf_lblSample type='str'>Points</conf_lblSample> - <charging type='str'>En charge</charging> + <conf_lblType type='str'>Type</conf_lblType> <widget_lblDisplayThreshold type='str'>Afficher le seuil sur le graph.</widget_lblDisplayThreshold> <conf_btnModify type='str'>Modifier</conf_btnModify> <widget_lblEvent type='str'>Evènement</widget_lblEvent> @@ -61,7 +93,7 @@ <conf_lblNotNotified type='str'>Non notifié</conf_lblNotNotified> <conf_lblDrop type='str'>Chute</conf_lblDrop> <gui_conf_window_title type='str'>Paramètres</gui_conf_window_title> - <conf_lblType type='str'>Type</conf_lblType> + <charging type='str'>En charge</charging> <widget_lblSet type='str'>Ajouter a la config.</widget_lblSet> <conf_lblValue type='str'>Valeur (V)</conf_lblValue> <conf_lblRate type='str'>Taux de rafraichissement</conf_lblRate> Modified: software/gadgets/battery_monitor/trunk/Battery_monitor_svn/about.xml =================================================================== --- software/gadgets/battery_monitor/trunk/Battery_monitor_svn/about.xml 2007-10-18 14:44:01 UTC (rev 635) +++ software/gadgets/battery_monitor/trunk/Battery_monitor_svn/about.xml 2007-10-19 08:47:18 UTC (rev 636) @@ -1,7 +1,7 @@ <?xml version='1.0' encoding='UTF-8'?> <about> + <gadget_description type='str'>Battery monitor for tux droid</gadget_description> <gadget_author type='str'>Paul Rathgeb</gadget_author> + <gadget_name type='str'>battery_monitor</gadget_name> <gadget_version type='str'>0.0.1</gadget_version> - <gadget_name type='str'>battery_monitor</gadget_name> - <gadget_description type='str'>Battery monitor for tux droid</gadget_description> </about> Modified: software/gadgets/battery_monitor/trunk/Battery_monitor_svn/settings.xml =================================================================== --- software/gadgets/battery_monitor/trunk/Battery_monitor_svn/settings.xml 2007-10-18 14:44:01 UTC (rev 635) +++ software/gadgets/battery_monitor/trunk/Battery_monitor_svn/settings.xml 2007-10-19 08:47:18 UTC (rev 636) @@ -1,10 +1,10 @@ <?xml version='1.0' encoding='UTF-8'?> <settings> <parameters> - <Sample type='float'>600.0</Sample> + <test_tab type='list'>[[1, 0, 0, 0.10000000000000001, 20.0, True, 'None', False, 0]]</test_tab> <chkMotors type='bool'>True</chkMotors> <MainScript type='str'>None</MainScript> - <test_tab type='list'>[[1, 0, 0, 0.10000000000000001, 20.0, True, 'None', False, 0]]</test_tab> + <Sample type='float'>600.0</Sample> <Rate type='float'>10.0</Rate> <config type='list'>[]</config> </parameters> Modified: software/gadgets/battery_monitor/trunk/Battery_monitor_svn/strings.xml =================================================================== --- software/gadgets/battery_monitor/trunk/Battery_monitor_svn/strings.xml 2007-10-18 14:44:01 UTC (rev 635) +++ software/gadgets/battery_monitor/trunk/Battery_monitor_svn/strings.xml 2007-10-19 08:47:18 UTC (rev 636) @@ -5,14 +5,50 @@ <gui_conf_remote_title type='str'>Control</gui_conf_remote_title> <battery type='str'>On battery</battery> <conf_lblRaise type='str'>Raise</conf_lblRaise> + <widget_lblTest type='str'>Notifications</widget_lblTest> <gui_conf_description_lb type='str'>Description</gui_conf_description_lb> <conf_lblEvent type='str'>Event</conf_lblEvent> <widget_lblControl type='str'>Control</widget_lblControl> - <full type='str'>The level of the batteries is full</full> + <conf_btnModify type='str'>Modify</conf_btnModify> <gui_conf_accept_bt type='str'>Accept</gui_conf_accept_bt> - <conf_lblChangeU type='str'>Raise and drop</conf_lblChangeU> - <help_text type='str'> - </help_text> + <gui_conf_remote_set_bt type='str'>Set</gui_conf_remote_set_bt> + <lblMotors type='str'>Disable measure when the motors are running</lblMotors> + <help_text type='str'>-- The events: +Two main types of events can take place, containing each one various options: + +The changes: +The changes are events which occur in a given time. +The four types of changes are: +- Drop +- Raise +- a followed drop of an increase +- an followed increase of a drop + +For example, an event can take place if the battery level decreases by 0.1V in a time of ten seconds. + +The thresholds: +The thresholds events starts when the battery voltage reached a specified level. +The passage of the threshold can be done: +- by an increase (passage beyond of the threshold) +- by a reduction (passage below the threshold) +- in the both directions. + + +-- The windows: +- The settings window: +This window contains all the options of configuration of the gadget, in particular the refresh rate and the number of points displayed on the graph. + +Some events, being able to involve a notification, can also be recorded. +If no external script is specified, a standard behavior will start. +The events can constantly be modified or removed, simply by selection of the line in the table. + +A checkbox allow to enable / disable the measure when the motors are running. + +- The gadget window: +This window display the battery voltage graph. +When this window is showed, the events recorded in the settings window are not notified. +This window makes it possible to try various configurations and to add them in the settings table.</help_text> + <conf_lblBehavior type='str'>Behavior script</conf_lblBehavior> <conf_lblChange type='str'>Change</conf_lblChange> <conf_lblBoth type='str'>Both</conf_lblBoth> <widget_lblBtnApply type='str'>Apply changes</widget_lblBtnApply> @@ -22,53 +58,50 @@ <gui_conf_update_title type='str'>Update</gui_conf_update_title> <widget_lblValue type='str'>Value (V)</widget_lblValue> <gui_conf_cancel_bt type='str'>Cancel</gui_conf_cancel_bt> - <widget_lblBoth type='str'>Both direction</widget_lblBoth> - <gui_conf_rate_lb type='str'>Refresh rate :</gui_conf_rate_lb> - <conf_lblType type='str'>Type</conf_lblType> <mainscript type='str'>I've found the light !</mainscript> - <conf_btnRemove type='str'>Remove</conf_btnRemove> <gui_conf_delay_lb type='str'>Delay (sec)</gui_conf_delay_lb> <plugged type='str'>Plugged</plugged> <conf_btnBehavior type='str'>Clear path</conf_btnBehavior> <gui_conf_about_title type='str'>About</gui_conf_about_title> <conf_lblChangeD type='str'>Drop and raise</conf_lblChangeD> <low type='str'>The level of the batteries is weak</low> + <conf_btnAdd type='str'>Add</conf_btnAdd> <speaker_name type='str'>Ryan8k</speaker_name> <conf_lblSample type='str'>Samples</conf_lblSample> - <charging type='str'>Charging</charging> + <conf_lblType type='str'>Type</conf_lblType> <widget_lblDisplayThreshold type='str'>Display threshold on graph</widget_lblDisplayThreshold> - <conf_btnModify type='str'>Modify</conf_btnModify> + <widget_lblChangeD type='str'>Drop and raise</widget_lblChangeD> + <full type='str'>The level of the batteries is full</full> <widget_lblEvent type='str'>Event</widget_lblEvent> <normal type='str'>The level of the batteries is good</normal> <widget_lblIncrease type='str'>Increasing</widget_lblIncrease> <widget_lblRaise type='str'>Raise</widget_lblRaise> - <conf_btnAdd type='str'>Add</conf_btnAdd> + <gui_conf_rate_lb type='str'>Refresh rate :</gui_conf_rate_lb> <widget_lblDecrease type='str'>Decreasing</widget_lblDecrease> <gui_conf_sample_lb type='str'>Sample :</gui_conf_sample_lb> <gui_conf_current_bind_lb type='str'>Current</gui_conf_current_bind_lb> <conf_lblNotifiedBehavior type='str'>Notified</conf_lblNotifiedBehavior> <gui_conf_author_lb type='str'>Author</gui_conf_author_lb> <widget_lblDrop type='str'>Drop</widget_lblDrop> - <MainBehavior type='str'>Main behavior</MainBehavior> - <absolute_threshold type='str'>Weak batteries </absolute_threshold> - <lblMotors type='str'>Disable measure when the motors are running</lblMotors> + <conf_lblNotified type='str'>Notified ?</conf_lblNotified> + <widget_lblBoth type='str'>Both direction</widget_lblBoth> <conf_lblDecrease type='str'>Decrease</conf_lblDecrease> <conf_lblDefaultBehavior type='str'>Default behavior</conf_lblDefaultBehavior> - <conf_lblBehavior type='str'>Behavior script</conf_lblBehavior> - <gui_conf_remote_set_bt type='str'>Set</gui_conf_remote_set_bt> + <conf_lblChangeU type='str'>Raise and drop</conf_lblChangeU> + <absolute_threshold type='str'>Weak batteries </absolute_threshold> <widget_lblChange type='str'>Change</widget_lblChange> <name_to_read type='str'>Battery monitor</name_to_read> <conf_lblNotNotified type='str'>Not notified</conf_lblNotNotified> <conf_lblDrop type='str'>Drop</conf_lblDrop> <gui_conf_window_title type='str'>Parameters</gui_conf_window_title> - <conf_lblNotified type='str'>Notified ?</conf_lblNotified> + <charging type='str'>Charging</charging> <widget_lblSet type='str'>Add to config</widget_lblSet> <conf_lblValue type='str'>Value (V)</conf_lblValue> <conf_lblRate type='str'>Refresh rate</conf_lblRate> <widget_lblBehavior type='str'>Enable behavior script</widget_lblBehavior> - <widget_lblChangeD type='str'>Drop and raise</widget_lblChangeD> + <MainBehavior type='str'>Main behavior</MainBehavior> <conf_lblTime type='str'>Time (sec.)</conf_lblTime> <conf_lblControl type='str'>Control</conf_lblControl> - <widget_lblTest type='str'>Notifications</widget_lblTest> + <conf_btnRemove type='str'>Remove</conf_btnRemove> <widget_lblThreshold type='str'>Threshold</widget_lblThreshold> </strings> |