diff options
| author | Roy Ben-Shabat <Roy@Twine-s.com> | 2018-07-12 16:40:03 +0300 |
|---|---|---|
| committer | Roy Ben-Shabat <Roy@Twine-s.com> | 2018-07-12 16:40:03 +0300 |
| commit | 9d5cbb678c593f2150ea28d23cdc505cab21f004 (patch) | |
| tree | a2e38eba662b84e2adf2191c51ec3c5b9a0c2d73 /Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Developer/ViewModels | |
| parent | e278b58a84234d66e49f1d261fe5ae68e6907b77 (diff) | |
| download | Tango-9d5cbb678c593f2150ea28d23cdc505cab21f004.tar.gz Tango-9d5cbb678c593f2150ea28d23cdc505cab21f004.zip | |
Machine Studio v1.0.0.13
Diffstat (limited to 'Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Developer/ViewModels')
| -rw-r--r-- | Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Developer/ViewModels/MainViewVM.cs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Developer/ViewModels/MainViewVM.cs b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Developer/ViewModels/MainViewVM.cs index 0e414fddc..dacbc89b1 100644 --- a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Developer/ViewModels/MainViewVM.cs +++ b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Developer/ViewModels/MainViewVM.cs @@ -1045,6 +1045,12 @@ namespace Tango.MachineStudio.Developer.ViewModels } }; + _jobHandler.UnitCompleted += (x, unit) => + { + _speech.SpeakInfo(String.Format("{0} Units Completed.", unit + 1)); + _eventLogger.Log(String.Format("{0} Units Completed.", unit + 1)); + }; + _jobHandler.Failed += (x, ex) => { LogManager.Log(ex, String.Format("Job {0} has failed.", RunningJob.Name)); |
