-
-
Notifications
You must be signed in to change notification settings - Fork 195
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The Connection configuration is now using Enumerations and Timespans where apropiate. This means existing code, using the configuration class directly might break. The configuration file also changed, but the system can load both, the new and old one! So the Configuration file loading mechanism is backwards compatible. 1. Changed int to corresponding Enumerations in PLCConnectionConfiguration and created new Enums where needed. 2. Changed ConnectionConfiguration Loading code, to minimize Breaking change impact. When the Connection file can not be loaded, it tries to fix the existing file and then retries once more. This means, the Configuration file is stil backwards compatible! 3. Timeouts are now defined as Timespan and not as int. PLCConnection is making apropiate use where necesary. 4. Refactored PLCConnection to use Enumerations 5. Refactored PLCConnection.Connect for better readability 6. Change ConnectionEditor so that the Timeout is now edited as miliseconds instead of microseconds. Internally it is an timespan anyway and the PLCConnection still converts it to Microseconds apropiatly 7. Addes lots of Comments to configuration parameters
- Loading branch information
Stefan Hasensperling
authored and
Stefan Hasensperling
committed
Nov 1, 2016
1 parent
c1a4aee
commit cd59c27
Showing
8 changed files
with
1,633 additions
and
1,593 deletions.
There are no files selected for viewing
80 changes: 12 additions & 68 deletions
80
LibNoDaveConnectionLibrary/Communication/Editors/ConnectionEditor.Designer.cs
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.