aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/PPC/Tango.PPC.Common/Synchronization/DefaultMachineDataSynchronizer.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Software/Visual_Studio/PPC/Tango.PPC.Common/Synchronization/DefaultMachineDataSynchronizer.cs')
-rw-r--r--Software/Visual_Studio/PPC/Tango.PPC.Common/Synchronization/DefaultMachineDataSynchronizer.cs23
1 files changed, 12 insertions, 11 deletions
diff --git a/Software/Visual_Studio/PPC/Tango.PPC.Common/Synchronization/DefaultMachineDataSynchronizer.cs b/Software/Visual_Studio/PPC/Tango.PPC.Common/Synchronization/DefaultMachineDataSynchronizer.cs
index b4513b595..61a9f720d 100644
--- a/Software/Visual_Studio/PPC/Tango.PPC.Common/Synchronization/DefaultMachineDataSynchronizer.cs
+++ b/Software/Visual_Studio/PPC/Tango.PPC.Common/Synchronization/DefaultMachineDataSynchronizer.cs
@@ -152,19 +152,20 @@ namespace Tango.PPC.Common.Synchronization
using (ObservablesContext db = ObservablesContext.CreateDefault())
{
- if (syncJobs)
- {
- LogManager.Log("Checking Jobs...");
+ //Ommited because of JOBS V2
+ //if (syncJobs)
+ //{
+ // LogManager.Log("Checking Jobs...");
- var jobs = await new JobsCollectionBuilder(db).Set(x => !x.IsSynchronized).WithSegments().WithBrushStops().Query(x => x.Take(MaxJobs).OrderByDescending(z => z.LastUpdated)).BuildListAsync();
- List<JobDTO> dtos = new List<JobDTO>();
+ // var jobs = await new JobsCollectionBuilder(db).Set(x => !x.IsSynchronized).WithSegments().WithBrushStops().Query(x => x.Take(MaxJobs).OrderByDescending(z => z.LastUpdated)).BuildListAsync();
+ // List<JobDTO> dtos = new List<JobDTO>();
- foreach (var job in jobs)
- {
- var dto = JobDTO.FromObservable(job);
- request.Jobs.Add(dto);
- }
- }
+ // foreach (var job in jobs)
+ // {
+ // var dto = JobDTO.FromObservable(job);
+ // request.Jobs.Add(dto);
+ // }
+ //}
if (syncDiagnostics)
{