[tuxdroid-svn] r649 - in software/gadgets/light_monitor/trunk: . Light_monitor Light_monitor/Script
Status: Beta
Brought to you by:
ks156
From: Paul_R <c2m...@c2...> - 2007-10-30 15:52:46
|
Author: Paul_R Date: 2007-10-30 16:52:35 +0100 (Tue, 30 Oct 2007) New Revision: 649 Modified: software/gadgets/light_monitor/trunk/Light_monitor.tgf software/gadgets/light_monitor/trunk/Light_monitor/Scripts/Python/GUI/conf/other.glade software/gadgets/light_monitor/trunk/Light_monitor/Scripts/Python/GUI/conf/other.pyp software/gadgets/light_monitor/trunk/Light_monitor/Scripts/Python/init.pyp software/gadgets/light_monitor/trunk/Light_monitor/Scripts/Python/lightGraph_class.py software/gadgets/light_monitor/trunk/Light_monitor/Strings/fr_ALL.xml software/gadgets/light_monitor/trunk/Light_monitor/about.xml software/gadgets/light_monitor/trunk/Light_monitor/settings.xml software/gadgets/light_monitor/trunk/Light_monitor/strings.xml Log: * Added a check box to disable measurement when the eyes are closed Modified: software/gadgets/light_monitor/trunk/Light_monitor/Scripts/Python/GUI/conf/other.glade =================================================================== (Binary files differ) Modified: software/gadgets/light_monitor/trunk/Light_monitor/Scripts/Python/GUI/conf/other.pyp =================================================================== --- software/gadgets/light_monitor/trunk/Light_monitor/Scripts/Python/GUI/conf/other.pyp 2007-10-30 15:00:42 UTC (rev 648) +++ software/gadgets/light_monitor/trunk/Light_monitor/Scripts/Python/GUI/conf/other.pyp 2007-10-30 15:52:35 UTC (rev 649) @@ -132,6 +132,7 @@ self.get_widget('cbb_conf_event').set_active(0) path = _me.get_path('data')+'/Data' self.get_widget('conf_behavior').set_filename(path) + self.get_widget('chkDisable').set_active(_me.get_param('disable')) for i in range(len(self.measure.event_tab)): @@ -158,6 +159,8 @@ self.get_widget("lbl_conf_rate").set_text(_me.string('conf_lblRate')) self.get_widget("lblControlFrame").set_text(_me.string('conf_lblControl')) self.get_widget("lblScript").set_text(_me.string('MainBehavior')) + + self.get_widget('chkDisable').set_label(_me.string('disable')) ########################################################### @@ -389,6 +392,9 @@ _me.set_var('notify_delay', int(self.get_widget("delay_spinbutton").get_value())) + _me.set_param('disable', self.get_widget('chkDisable').get_active()) + self.measure.disable_light = self.get_widget('chkDisable').get_active() + self.get_widget("window1").destroy() Modified: software/gadgets/light_monitor/trunk/Light_monitor/Scripts/Python/init.pyp =================================================================== --- software/gadgets/light_monitor/trunk/Light_monitor/Scripts/Python/init.pyp 2007-10-30 15:00:42 UTC (rev 648) +++ software/gadgets/light_monitor/trunk/Light_monitor/Scripts/Python/init.pyp 2007-10-30 15:52:35 UTC (rev 649) @@ -33,7 +33,7 @@ if _me.get_param('Sample') != (0 or None or '' or '1') and float(_me.get_param('Sample')) != measure.sample: measure.val_table = [0] * int(_me.get_param('Sample')) measure.sample = float(_me.get_param('Sample')) - +#measure.disable_light = _me.get_param('disable') measure.threshold_behavior = _me.get_param('behavior_file_threshold') measure.change_behavior = _me.get_param('behavior_file_change') measure.event_tab = _me.get_param('config') Modified: software/gadgets/light_monitor/trunk/Light_monitor/Scripts/Python/lightGraph_class.py =================================================================== --- software/gadgets/light_monitor/trunk/Light_monitor/Scripts/Python/lightGraph_class.py 2007-10-30 15:00:42 UTC (rev 648) +++ software/gadgets/light_monitor/trunk/Light_monitor/Scripts/Python/lightGraph_class.py 2007-10-30 15:52:35 UTC (rev 649) @@ -177,6 +177,9 @@ self.txtsearch = ' ' self.search_event = [] self.__fault = False + self.light_backup = 0 + self.disable_light = False + self.timeout = 0 self.GUI_on = False self.start_flag = True @@ -396,9 +399,24 @@ if self.rate_backup != self.rate and self.search_light_flag == False: self.rate_has_changed() - + + if self.timeout: + self.timeout -= 1 + + val = (args[0] * 256) + args[1] if self.tick <= time.time(): self.tick = time.time() + self.rate + + + if self.disable_light == True: + if tux.status.eyes_closed() == 0: + val = self.light_backup + self.timeout = 5 + elif self.timeout == 0: + self.light_backup = val + else: + val = self.light_backup + if self.event != 0 and self.event_flag == True: self.val_table_event.append(self.event) else: @@ -406,7 +424,7 @@ self.val_table_event.pop(0) self.event = 0 - val = (args[0] * 256) + args[1] + self.val_table.append(val) self.val_table.pop(0) if self.GUI_on: Modified: software/gadgets/light_monitor/trunk/Light_monitor/Strings/fr_ALL.xml =================================================================== --- software/gadgets/light_monitor/trunk/Light_monitor/Strings/fr_ALL.xml 2007-10-30 15:00:42 UTC (rev 648) +++ software/gadgets/light_monitor/trunk/Light_monitor/Strings/fr_ALL.xml 2007-10-30 15:52:35 UTC (rev 649) @@ -1,17 +1,9 @@ <?xml version='1.0' encoding='UTF-8'?> <strings> - <conf_lblIncrease type='str'>Augmente</conf_lblIncrease> - <conf_lblThreshold type='str'>Seuil</conf_lblThreshold> <gui_conf_remote_title type='str'>Contrôle</gui_conf_remote_title> <conf_lblRaise type='str'>Accroissement</conf_lblRaise> - <widget_lblTest type='str'>Notifications</widget_lblTest> - <gui_conf_description_lb type='str'>Description</gui_conf_description_lb> <conf_lblEvent type='str'>Evènement</conf_lblEvent> <widget_lblControl type='str'>Contrôle</widget_lblControl> - <Increase type='str'>La lumière est passée en dessus du seuil</Increase> - <widget_lblBehavior type='str'>Activer le script</widget_lblBehavior> - <gui_conf_accept_bt type='str'>Valider</gui_conf_accept_bt> - <speaker_name type='str'>Bruno8k</speaker_name> <help_text type='str'>-- Les évènements : Deux grands types d'évènements peuvent avoir lieu, contenant chacun diverses options : @@ -48,76 +40,85 @@ Une zone de test comportant deux boutons permettent à Tux de rechercher la direction la plus lumineuse, ou la plus sombre. Deux scripts de bases se trpouvent dans /tmp/Light_monitor/Data</help_text> + <conf_lblSample type='str'>Points</conf_lblSample> + <widget_lblLight type='str'>Trouver lumière</widget_lblLight> + <conf_lblNotifiedBehavior type='str'>Notifié</conf_lblNotifiedBehavior> + <Change type='str'>La lumière a changé</Change> + <Both type='str'>La lumière a passé le seuil</Both> + <widget_lblRaise type='str'>Augmentation</widget_lblRaise> + <gui_conf_current_bind_lb type='str'>Assignation</gui_conf_current_bind_lb> + <conf_lblBehavior type='str'>Comportement</conf_lblBehavior> + <name_to_read type='str'>Moniteur de lumière</name_to_read> + <gui_conf_window_title type='str'>Paramètres</gui_conf_window_title> + <widget_lblSet type='str'>Ajouter a la config.</widget_lblSet> + <conf_lblValue type='str'>Valeur (%)</conf_lblValue> + <conf_lblTime type='str'>Temps (sec.)</conf_lblTime> + <widget_lblTest type='str'>Notifications</widget_lblTest> + <conf_lblThreshold type='str'>Seuil</conf_lblThreshold> + <gui_conf_accept_bt type='str'>Valider</gui_conf_accept_bt> + <power_supply type='str'>Vous devez deconnecter l'alimentation</power_supply> + <widget_lblNotified type='str'>Notifé</widget_lblNotified> + <conf_btnBehavior type='str'>Supprimer</conf_btnBehavior> + <conf_lblType type='str'>Type</conf_lblType> + <Drop type='str'>La lumière a chuté</Drop> + <widget_lblEvent type='str'>Evènement</widget_lblEvent> + <dark4 type='str'>C'est l'endroit le plus sombre !</dark4> + <widget_lblBoth type='str'>Deux directions</widget_lblBoth> + <gui_conf_remote_set_bt type='str'>Set</gui_conf_remote_set_bt> + <search type='str'>Je cherche ...</search> + <conf_lblNotNotified type='str'>Non notifié</conf_lblNotNotified> + <ChangeD type='str'>La lumière a chuté puis augmenté</ChangeD> + <widget_lblThreshold type='str'>Seuil</widget_lblThreshold> + <light2 type='str'>J'en vois encore plus ici !</light2> + <light3 type='str'>ou ici ?</light3> + <light1 type='str'>Je vois de la lumière ici...</light1> + <light4 type='str'>Je pense que la lumière vient de cette direction</light4> + <light5 type='str'>Je ne peux pas trouver d'où vient la lumière...</light5> <ChangeU type='str'>La lumière a augmenté puis chuté</ChangeU> - <conf_lblChange type='str'>Changement</conf_lblChange> + <gui_conf_description_lb type='str'>Description</gui_conf_description_lb> + <widget_lblDark type='str'>Trouver ombre</widget_lblDark> + <Increase type='str'>La lumière est passée en dessus du seuil</Increase> <conf_lblBoth type='str'>Deux directions</conf_lblBoth> - <widget_lblBtnApply type='str'>Appliquer</widget_lblBtnApply> - <widget_lblChangeU type='str'>Changement sup.</widget_lblChangeU> <conf_lblDecrease type='str'>Diminue</conf_lblDecrease> <gui_conf_version_lb type='str'>Version</gui_conf_version_lb> <gui_conf_update_title type='str'>Mise à jour</gui_conf_update_title> - <conf_lblChangeU type='str'>Augmente et chute</conf_lblChangeU> + <widget_lblValue type='str'>Valeur (%)</widget_lblValue> <gui_conf_cancel_bt type='str'>Annuler</gui_conf_cancel_bt> - <MainBehavior type='str'>Comportement principal</MainBehavior> - <gui_conf_rate_lb type='str'>Taux de rafraichissement :</gui_conf_rate_lb> <mainscript type='str'>J'ai trouvé la lumière !</mainscript> + <widget_lblDrop type='str'>Chute</widget_lblDrop> + <widget_lblIncrease type='str'>Accroissement</widget_lblIncrease> + <conf_btnAdd type='str'>Ajouter</conf_btnAdd> + <gui_conf_author_lb type='str'>Auteur</gui_conf_author_lb> + <conf_lblDrop type='str'>Chute</conf_lblDrop> + <Raise type='str'>La lumière a augmenté</Raise> + <Decrease type='str'>La lumière est passée en dessous du seuil</Decrease> + <widget_lblDisplayThreshold type='str'>Afficher le seuil sur le graph.</widget_lblDisplayThreshold> + <conf_lblRate type='str'>Taux de rafraichissement</conf_lblRate> + <conf_lblControl type='str'>Contrôle</conf_lblControl> <conf_btnRemove type='str'>Enlever</conf_btnRemove> + <conf_lblIncrease type='str'>Augmente</conf_lblIncrease> + <widget_lblChangeU type='str'>Changement sup.</widget_lblChangeU> + <widget_lblChangeD type='str'>Changement inf.</widget_lblChangeD> + <conf_lblChange type='str'>Changement</conf_lblChange> + <widget_lblBtnApply type='str'>Appliquer</widget_lblBtnApply> + <gui_conf_rate_lb type='str'>Taux de rafraichissement :</gui_conf_rate_lb> + <conf_lblChangeU type='str'>Augmente et chute</conf_lblChangeU> <gui_conf_delay_lb type='str'>Délai (sec)</gui_conf_delay_lb> - <conf_btnBehavior type='str'>Supprimer</conf_btnBehavior> <gui_conf_about_title type='str'>A propos</gui_conf_about_title> <conf_lblChangeD type='str'>Chute et augmente</conf_lblChangeD> - <widget_lblValue type='str'>Valeur (%)</widget_lblValue> - <power_supply type='str'>Vous devez deconnecter l'alimentation</power_supply> - <conf_lblSample type='str'>Points</conf_lblSample> - <conf_lblType type='str'>Type</conf_lblType> - <Change type='str'>La lumière a changé</Change> - <Both type='str'>La lumière a passé le seuil</Both> + <widget_lblChange type='str'>Changement</widget_lblChange> <conf_btnModify type='str'>Modifier</conf_btnModify> - <widget_lblDrop type='str'>Chute</widget_lblDrop> - <widget_lblNotified type='str'>Notifé</widget_lblNotified> <dark1 type='str'>Il fait sombre ici !</dark1> - <widget_lblIncrease type='str'>Accroissement</widget_lblIncrease> <dark3 type='str'>hmm, il fait toujours plus sombre ...</dark3> - <conf_btnAdd type='str'>Ajouter</conf_btnAdd> + <dark2 type='str'>Et encore plus là !</dark2> <dark5 type='str'>Je ne peux pas trouver l'endroit le plus sombre ...</dark5> - <dark4 type='str'>C'est l'endroit le plus sombre !</dark4> + <widget_lblDecrease type='str'>Decroissance</widget_lblDecrease> <gui_conf_sample_lb type='str'>Nombre de points :</gui_conf_sample_lb> - <widget_lblDecrease type='str'>Decroissance</widget_lblDecrease> - <widget_lblEvent type='str'>Evènement</widget_lblEvent> - <conf_lblNotifiedBehavior type='str'>Notifié</conf_lblNotifiedBehavior> - <light2 type='str'>J'en vois encore plus ici !</light2> - <gui_conf_author_lb type='str'>Auteur</gui_conf_author_lb> - <widget_lblRaise type='str'>Augmentation</widget_lblRaise> - <ChangeD type='str'>La lumière a chuté puis augmenté</ChangeD> - <widget_lblBoth type='str'>Deux directions</widget_lblBoth> - <gui_conf_current_bind_lb type='str'>Assignation</gui_conf_current_bind_lb> + <disable type='str'>Interdire les mesures quand les yeux sont fermés</disable> <conf_lblDefaultBehavior type='str'>Comportement pas défaut</conf_lblDefaultBehavior> - <widget_lblDisplayThreshold type='str'>Afficher le seuil sur le graph.</widget_lblDisplayThreshold> - <conf_lblBehavior type='str'>Comportement</conf_lblBehavior> - <dark2 type='str'>Et encore plus là !</dark2> - <gui_conf_remote_set_bt type='str'>Set</gui_conf_remote_set_bt> - <search type='str'>Je cherche ...</search> - <widget_lblChange type='str'>Changement</widget_lblChange> - <light5 type='str'>Je ne peux pas trouver d'où vient la lumière...</light5> - <widget_lblLight type='str'>Trouver lumière</widget_lblLight> - <name_to_read type='str'>Moniteur de lumière</name_to_read> - <gui_conf_window_title type='str'>Paramètres</gui_conf_window_title> - <Drop type='str'>La lumière a chuté</Drop> - <conf_lblDrop type='str'>Chute</conf_lblDrop> - <conf_lblNotNotified type='str'>Non notifié</conf_lblNotNotified> - <Raise type='str'>La lumière a augmenté</Raise> + <speaker_name type='str'>Bruno8k</speaker_name> + <widget_lblBehavior type='str'>Activer le script</widget_lblBehavior> <conf_lblNotified type='str'>Notifié ?</conf_lblNotified> - <widget_lblSet type='str'>Ajouter a la config.</widget_lblSet> - <light3 type='str'>ou ici ?</light3> - <light1 type='str'>Je vois de la lumière ici...</light1> - <Decrease type='str'>La lumière est passée en dessous du seuil</Decrease> - <conf_lblValue type='str'>Valeur (%)</conf_lblValue> - <light4 type='str'>Je pense que la lumière vient de cette direction</light4> - <conf_lblRate type='str'>Taux de rafraichissement</conf_lblRate> <Threshold type='str'>La lumière a atteint le seuil</Threshold> - <widget_lblChangeD type='str'>Changement inf.</widget_lblChangeD> - <conf_lblTime type='str'>Temps (sec.)</conf_lblTime> - <conf_lblControl type='str'>Contrôle</conf_lblControl> - <widget_lblDark type='str'>Trouver ombre</widget_lblDark> - <widget_lblThreshold type='str'>Seuil</widget_lblThreshold> + <MainBehavior type='str'>Comportement principal</MainBehavior> </strings> Modified: software/gadgets/light_monitor/trunk/Light_monitor/about.xml =================================================================== --- software/gadgets/light_monitor/trunk/Light_monitor/about.xml 2007-10-30 15:00:42 UTC (rev 648) +++ software/gadgets/light_monitor/trunk/Light_monitor/about.xml 2007-10-30 15:52:35 UTC (rev 649) @@ -1,7 +1,7 @@ <?xml version='1.0' encoding='UTF-8'?> <about> + <gadget_description type='str'>Light monitor for tux droid</gadget_description> <gadget_author type='str'>Paul Rathgeb</gadget_author> + <gadget_name type='str'>light_monitor</gadget_name> <gadget_version type='str'>0.0.1</gadget_version> - <gadget_name type='str'>light_monitor</gadget_name> - <gadget_description type='str'>Light monitor for tux droid</gadget_description> </about> Modified: software/gadgets/light_monitor/trunk/Light_monitor/settings.xml =================================================================== --- software/gadgets/light_monitor/trunk/Light_monitor/settings.xml 2007-10-30 15:00:42 UTC (rev 648) +++ software/gadgets/light_monitor/trunk/Light_monitor/settings.xml 2007-10-30 15:52:35 UTC (rev 649) @@ -10,22 +10,23 @@ <changeD_rad type='bool'>False</changeD_rad> <threshold type='float'>50.0</threshold> <decrease_rad type='bool'>False</decrease_rad> - <Sample type='float'>500.0</Sample> + <behavior_file_threshold type='NoneType'>None</behavior_file_threshold> <raise type='float'>10.0</raise> <changeU_rad type='bool'>False</changeU_rad> <threshold_notified type='bool'>False</threshold_notified> <config type='list'>[]</config> <behavior_file_change type='NoneType'>None</behavior_file_change> - <drop_rad type='bool'>True</drop_rad> <raise_rad type='bool'>False</raise_rad> <changeD type='float'>10.0</changeD> <drop_time type='float'>1.0</drop_time> + <disable type='bool'>False</disable> <changeU type='float'>10.0</changeU> <raise_time type='float'>1.0</raise_time> <drop type='float'>10.0</drop> + <drop_rad type='bool'>True</drop_rad> <MainScript type='str'> </MainScript> - <behavior_file_threshold type='NoneType'>None</behavior_file_threshold> + <Sample type='float'>500.0</Sample> <threshold_chk type='bool'>False</threshold_chk> <Rate type='float'>0.1</Rate> <changeD_time type='float'>1.0</changeD_time> Modified: software/gadgets/light_monitor/trunk/Light_monitor/strings.xml =================================================================== --- software/gadgets/light_monitor/trunk/Light_monitor/strings.xml 2007-10-30 15:00:42 UTC (rev 648) +++ software/gadgets/light_monitor/trunk/Light_monitor/strings.xml 2007-10-30 15:52:35 UTC (rev 649) @@ -1,16 +1,9 @@ <?xml version='1.0' encoding='UTF-8'?> <strings> - <conf_lblIncrease type='str'>Increase</conf_lblIncrease> - <conf_lblThreshold type='str'>Threshold</conf_lblThreshold> <gui_conf_remote_title type='str'>Control</gui_conf_remote_title> <conf_lblRaise type='str'>Raise</conf_lblRaise> - <power_supply type='str'>You must disconnect the power supply</power_supply> - <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> - <Increase type='str'>The light level exceeded the threshold</Increase> - <conf_btnRemove type='str'>Remove</conf_btnRemove> - <gui_conf_accept_bt type='str'>Accept</gui_conf_accept_bt> <help_text type='str'>-- The events: Two main types of events can take place, each containing various options: @@ -47,77 +40,85 @@ In the test part with two buttons you can make Tux search for the light source or darkest spot. Two example scripts can be found in /tmp/Light_monitor/Data.</help_text> + <conf_lblSample type='str'>Samples</conf_lblSample> + <widget_lblLight type='str'>Search light</widget_lblLight> + <conf_lblNotifiedBehavior type='str'>Notified</conf_lblNotifiedBehavior> + <Change type='str'>The light level changed</Change> + <Both type='str'>The light level reached the threshold</Both> + <widget_lblRaise type='str'>Raise</widget_lblRaise> + <gui_conf_current_bind_lb type='str'>Current</gui_conf_current_bind_lb> + <conf_lblBehavior type='str'>Behavior script</conf_lblBehavior> + <name_to_read type='str'>Light monitor</name_to_read> + <gui_conf_window_title type='str'>Parameters</gui_conf_window_title> + <widget_lblSet type='str'>Add to config</widget_lblSet> + <conf_lblValue type='str'>Value (%)</conf_lblValue> + <conf_lblTime type='str'>Time (sec.)</conf_lblTime> + <widget_lblTest type='str'>Notifications</widget_lblTest> + <conf_lblThreshold type='str'>Threshold</conf_lblThreshold> + <gui_conf_accept_bt type='str'>Accept</gui_conf_accept_bt> + <power_supply type='str'>You must disconnect the power supply</power_supply> + <widget_lblNotified type='str'>Notified</widget_lblNotified> + <conf_btnBehavior type='str'>Clear path</conf_btnBehavior> + <conf_lblType type='str'>Type</conf_lblType> + <Drop type='str'>The light level dropped</Drop> + <widget_lblEvent type='str'>Event</widget_lblEvent> + <dark4 type='str'>This is the darkest spot.</dark4> + <widget_lblBoth type='str'>Both direction</widget_lblBoth> + <gui_conf_remote_set_bt type='str'>Set</gui_conf_remote_set_bt> + <search type='str'>I seek ...</search> + <conf_lblNotNotified type='str'>Not notified</conf_lblNotNotified> + <ChangeD type='str'>The light level dropped and raised</ChangeD> + <conf_lblNotified type='str'>Notified ?</conf_lblNotified> + <light2 type='str'>ow wait, even lighter here.</light2> + <light3 type='str'>or here ...</light3> + <light1 type='str'>Seeing more light over here.</light1> + <light4 type='str'>I think the light is coming from this direction.</light4> + <light5 type='str'>I can't find the direction of the light.</light5> <ChangeU type='str'>The light level raised and dropped</ChangeU> - <conf_lblChange type='str'>Change</conf_lblChange> + <widget_lblThreshold type='str'>Threshold</widget_lblThreshold> + <gui_conf_description_lb type='str'>Description</gui_conf_description_lb> + <widget_lblDark type='str'>Search darkness</widget_lblDark> + <Increase type='str'>The light level exceeded the threshold</Increase> <conf_lblBoth type='str'>Both</conf_lblBoth> - <widget_lblBtnApply type='str'>Apply changes</widget_lblBtnApply> - <widget_lblChangeU type='str'>Raise and drop</widget_lblChangeU> <conf_lblDecrease type='str'>Decrease</conf_lblDecrease> <gui_conf_version_lb type='str'>Version</gui_conf_version_lb> <gui_conf_update_title type='str'>Update</gui_conf_update_title> <widget_lblValue type='str'>Value (%)</widget_lblValue> <gui_conf_cancel_bt type='str'>Cancel</gui_conf_cancel_bt> - <MainBehavior type='str'>Main behavior</MainBehavior> + <mainscript type='str'>I've found the light !</mainscript> + <widget_lblDrop type='str'>Drop</widget_lblDrop> + <widget_lblIncrease type='str'>Increasing</widget_lblIncrease> + <conf_btnAdd type='str'>Add</conf_btnAdd> + <gui_conf_author_lb type='str'>Author</gui_conf_author_lb> + <conf_lblDrop type='str'>Drop</conf_lblDrop> + <Raise type='str'>The light level raised</Raise> + <Decrease type='str'>The light level passed below the threshold</Decrease> + <widget_lblDisplayThreshold type='str'>Display threshold on graph</widget_lblDisplayThreshold> + <conf_lblRate type='str'>Refresh rate</conf_lblRate> + <conf_lblControl type='str'>Control</conf_lblControl> + <conf_btnRemove type='str'>Remove</conf_btnRemove> + <conf_lblIncrease type='str'>Increase</conf_lblIncrease> + <widget_lblChangeU type='str'>Raise and drop</widget_lblChangeU> + <widget_lblChangeD type='str'>Drop and raise</widget_lblChangeD> + <conf_lblChange type='str'>Change</conf_lblChange> + <widget_lblBtnApply type='str'>Apply changes</widget_lblBtnApply> <gui_conf_rate_lb type='str'>Refresh rate :</gui_conf_rate_lb> - <mainscript type='str'>I've found the light !</mainscript> - <light2 type='str'>ow wait, even lighter here.</light2> + <conf_lblChangeU type='str'>Raise and drop</conf_lblChangeU> <gui_conf_delay_lb type='str'>Delay (sec)</gui_conf_delay_lb> - <conf_lblNotNotified type='str'>Not notified</conf_lblNotNotified> - <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> - <conf_lblChangeU type='str'>Raise and drop</conf_lblChangeU> - <speaker_name type='str'>Ryan8k</speaker_name> - <conf_lblSample type='str'>Samples</conf_lblSample> - <conf_lblType type='str'>Type</conf_lblType> - <Change type='str'>The light level changed</Change> - <widget_lblDark type='str'>Search darkness</widget_lblDark> - <Both type='str'>The light level reached the threshold</Both> + <widget_lblChange type='str'>Change</widget_lblChange> <conf_btnModify type='str'>Modify</conf_btnModify> - <widget_lblDrop type='str'>Drop</widget_lblDrop> - <widget_lblNotified type='str'>Notified</widget_lblNotified> <dark1 type='str'>It's pretty dark here.</dark1> - <widget_lblIncrease type='str'>Increasing</widget_lblIncrease> <dark3 type='str'>hmm, but it's even more dark over here!</dark3> - <conf_btnAdd type='str'>Add</conf_btnAdd> + <dark2 type='str'>And darker here.</dark2> <dark5 type='str'>I can't find the darkest spot...</dark5> - <dark4 type='str'>This is the darkest spot.</dark4> + <widget_lblDecrease type='str'>Decreasing</widget_lblDecrease> <gui_conf_sample_lb type='str'>Sample :</gui_conf_sample_lb> - <widget_lblDecrease type='str'>Decreasing</widget_lblDecrease> - <widget_lblEvent type='str'>Event</widget_lblEvent> - <conf_lblNotifiedBehavior type='str'>Notified</conf_lblNotifiedBehavior> - <gui_conf_author_lb type='str'>Author</gui_conf_author_lb> - <widget_lblRaise type='str'>Raise</widget_lblRaise> - <ChangeD type='str'>The light level dropped and raised</ChangeD> - <widget_lblBoth type='str'>Both direction</widget_lblBoth> - <gui_conf_current_bind_lb type='str'>Current</gui_conf_current_bind_lb> + <disable type='str'>Disable measurement when the eyes are closed</disable> <conf_lblDefaultBehavior type='str'>Default behavior</conf_lblDefaultBehavior> - <widget_lblDisplayThreshold type='str'>Display threshold on graph</widget_lblDisplayThreshold> - <conf_lblBehavior type='str'>Behavior script</conf_lblBehavior> - <dark2 type='str'>And darker here.</dark2> - <gui_conf_remote_set_bt type='str'>Set</gui_conf_remote_set_bt> - <search type='str'>I seek ...</search> - <widget_lblChange type='str'>Change</widget_lblChange> - <light5 type='str'>I can't find the direction of the light.</light5> - <widget_lblLight type='str'>Search light</widget_lblLight> - <name_to_read type='str'>Light monitor</name_to_read> - <gui_conf_window_title type='str'>Parameters</gui_conf_window_title> - <Drop type='str'>The light level dropped</Drop> - <conf_lblDrop type='str'>Drop</conf_lblDrop> + <speaker_name type='str'>Ryan8k</speaker_name> <widget_lblBehavior type='str'>Enable behavior script</widget_lblBehavior> - <Raise type='str'>The light level raised</Raise> - <conf_lblNotified type='str'>Notified ?</conf_lblNotified> - <widget_lblSet type='str'>Add to config</widget_lblSet> - <light3 type='str'>or here ...</light3> - <light1 type='str'>Seeing more light over here.</light1> - <Decrease type='str'>The light level passed below the threshold</Decrease> - <conf_lblValue type='str'>Value (%)</conf_lblValue> - <light4 type='str'>I think the light is coming from this direction.</light4> - <conf_lblRate type='str'>Refresh rate</conf_lblRate> <Threshold type='str'>The light reached the threshold</Threshold> - <widget_lblChangeD type='str'>Drop and raise</widget_lblChangeD> - <conf_lblTime type='str'>Time (sec.)</conf_lblTime> - <conf_lblControl type='str'>Control</conf_lblControl> - <widget_lblTest type='str'>Notifications</widget_lblTest> - <widget_lblThreshold type='str'>Threshold</widget_lblThreshold> + <MainBehavior type='str'>Main behavior</MainBehavior> </strings> Modified: software/gadgets/light_monitor/trunk/Light_monitor.tgf =================================================================== (Binary files differ) |