diff options
| author | Roy Ben Shabat <Roy.mail.net@gmail.com> | 2018-12-30 01:27:53 +0200 |
|---|---|---|
| committer | Roy Ben Shabat <Roy.mail.net@gmail.com> | 2018-12-30 01:27:53 +0200 |
| commit | cc3480d4aac4175b1072060dd2d6d398d3451ae8 (patch) | |
| tree | 0c416705eca9d499a3118d83d84b5143f3cee262 /Software/Visual_Studio/Tango.Synchronization/Remote | |
| parent | 7b69f9a96ab82e3a6e2345092600edf5854f5f4f (diff) | |
| download | Tango-cc3480d4aac4175b1072060dd2d6d398d3451ae8.tar.gz Tango-cc3480d4aac4175b1072060dd2d6d398d3451ae8.zip | |
Working on dispenserssssssss
Diffstat (limited to 'Software/Visual_Studio/Tango.Synchronization/Remote')
| -rw-r--r-- | Software/Visual_Studio/Tango.Synchronization/Remote/RemoteDBComparer.cs | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Software/Visual_Studio/Tango.Synchronization/Remote/RemoteDBComparer.cs b/Software/Visual_Studio/Tango.Synchronization/Remote/RemoteDBComparer.cs index 42c97a70b..aaf4706a3 100644 --- a/Software/Visual_Studio/Tango.Synchronization/Remote/RemoteDBComparer.cs +++ b/Software/Visual_Studio/Tango.Synchronization/Remote/RemoteDBComparer.cs @@ -103,8 +103,8 @@ namespace Tango.Synchronization.Remote OnProgress(LogManager.Log("Querying all remote machines configurations...")); guids = remote_machines.Select(x => x.GUID).ToList(); - var remote_machines_configurations = _remoteDB.MACHINES_CONFIGURATIONS.Where(x => guids.Contains(x.MACHINE_GUID)).ToList(); - var remote_configurations = remote_machines_configurations.Select(x => x.CONFIGURATION).ToList(); + //var remote_machines_configurations = _remoteDB.MACHINES_CONFIGURATIONS.Where(x => guids.Contains(x.MACHINE_GUID)).ToList(); + //var remote_configurations = remote_machines_configurations.Select(x => x.CONFIGURATION).ToList(); OnProgress(LogManager.Log("Querying all remote machines events...")); var remote_machines_events = _remoteDB.MACHINES_EVENTS.Where(x => guids.Contains(x.MACHINE_GUID)).ToList(); @@ -128,11 +128,11 @@ namespace Tango.Synchronization.Remote remote_contacts = remote_contacts.Distinct().ToList(); OnProgress(LogManager.Log("Querying all remote IDS Packs...")); - guids = remote_configurations.Select(x => x.GUID).ToList(); + //guids = remote_configurations.Select(x => x.GUID).ToList(); var remote_ids_packs = _remoteDB.IDS_PACKS.Where(x => guids.Contains(x.CONFIGURATION_GUID)).ToList(); OnProgress(LogManager.Log("Querying all remote dispenser types...")); - guids = remote_ids_packs.Select(x => x.DISPENSER_TYPE_GUID).ToList(); + //guids = remote_ids_packs.Select(x => x.DISPENSER_TYPE_GUID).ToList(); var remote_dispensers_types = _remoteDB.DISPENSER_TYPES.Where(x => guids.Contains(x.GUID)).ToList(); OnProgress(LogManager.Log("Querying all remote cartridge types...")); @@ -166,7 +166,7 @@ namespace Tango.Synchronization.Remote CompareCollections(remote_addresses, local_addresses, _remoteDB.ADDRESSES, _localDB.ADDRESSES); OnProgress(LogManager.Log("Comparing configurations")); - CompareCollections(remote_configurations, local_configurations, _remoteDB.CONFIGURATIONS, _localDB.CONFIGURATIONS); + //CompareCollections(remote_configurations, local_configurations, _remoteDB.CONFIGURATIONS, _localDB.CONFIGURATIONS); OnProgress(LogManager.Log("Comparing configurations dispensers")); CompareCollections(remote_ids_packs, local_ids_packs, _remoteDB.IDS_PACKS, _localDB.IDS_PACKS); @@ -178,7 +178,7 @@ namespace Tango.Synchronization.Remote CompareCollections(remote_machines, local_machines, _remoteDB.MACHINES, _localDB.MACHINES); OnProgress(LogManager.Log("Comparing machines configuration")); - CompareCollections(remote_machines_configurations, local_machines_configurations, _remoteDB.MACHINES_CONFIGURATIONS, _localDB.MACHINES_CONFIGURATIONS); + //CompareCollections(remote_machines_configurations, local_machines_configurations, _remoteDB.MACHINES_CONFIGURATIONS, _localDB.MACHINES_CONFIGURATIONS); OnProgress(LogManager.Log("Comparing machines events")); CompareCollections(remote_machines_events, local_machines_events, _remoteDB.MACHINES_EVENTS, _localDB.MACHINES_EVENTS); |
