Changeset 2188 in Sophya for trunk/SophyaPI/PIext/pistdimgapp.cc
- Timestamp:
- Sep 9, 2002, 6:48:34 PM (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaPI/PIext/pistdimgapp.cc
r2165 r2188 47 47 /* Classe SIA_RU__Periodic : mise a jour periodique de */ 48 48 /* la fenetre Stat/Ressource info */ 49 /* + execution de commande soumis de l'exterieur */ 49 50 /* ........................................................... */ 50 51 … … 71 72 void SIA_RU__Periodic::DoPeriodic() 72 73 { 73 if (_app) _app->UpdateStatResourceInfo(); 74 if (_app) { 75 _app->ExecuteExtCommand(); 76 _app->UpdateStatResourceInfo(); 77 } 74 78 } 75 79 … … 210 214 therm_cpu->SetThreshold(0.75, 0.90); 211 215 216 fg_exc_cmd = false; 212 217 UpdateStatResourceInfo(); 213 218 resupd_periodic = new SIA_RU__Periodic(this); … … 775 780 776 781 /* --Methode-- */ 782 int PIStdImgApp::ExecuteExtCommand() 783 { 784 if (!fg_exc_cmd) return(0); 785 else { 786 fg_exc_cmd = false; 787 return CmdInterpreter()->Interpret(exc_command); 788 } 789 } 790 791 /* --Methode-- */ 777 792 void PIStdImgApp::AddText(string const & txt, double xp, double yp, string const& sop) 778 793 {
Note:
See TracChangeset
for help on using the changeset viewer.