Commit Graph

107 Commits

Author SHA1 Message Date
Michele Cattafesta
142804f506 .NetCore: renamed socket class to minimize the #if NETFX_CORE in the sources. 2016-07-10 11:18:06 +02:00
Michele Cattafesta
5262b0fd59 cleaned tabs.
Signed-off-by: Michele Cattafesta <michele.cattafesta@mesta-automation.com>
2016-07-09 00:08:48 +02:00
Michele Cattafesta
aff5df1b33 S7.Net and S7.Net.Core unification (issue #56): moved files, updated csproj, minor modification for compatibility in SocketClient class.
Signed-off-by: Michele Cattafesta <michele.cattafesta@mesta-automation.com>
2016-07-09 00:08:32 +02:00
Michele Cattafesta
dc2b03d7d9 Merge pull request #62 from watashimeandeu/master
Fixes bug on ReadMultipleBytes: when readying one byte now it returns byte[] instead of byte.
2016-07-07 13:33:13 +02:00
Marcos Pereira
df019ac193 GetClassSize return zero. Issue #61. 2016-07-07 11:06:14 +01:00
Michele Cattafesta
5b36b774e2 Nuget 0.1.3
Signed-off-by: Michele Cattafesta <michele.cattafesta@mesta-automation.com>
2016-06-12 23:54:56 +02:00
Michele Cattafesta
bf462c53a5 documentation
Signed-off-by: Michele Cattafesta <michele.cattafesta@mesta-automation.com>
2016-06-12 23:45:36 +02:00
Michele Cattafesta
8fe5366a27 exceptions: added message of exceptions on LastErrorString.
Signed-off-by: Michele Cattafesta <michele.cattafesta@mesta-automation.com>
2016-06-12 23:39:45 +02:00
Michele Cattafesta
f86281af82 Merge pull request #59 from SenenFernandez/master
Sign the assembly. Issue #52
2016-06-09 08:48:00 +02:00
Senen Fernandez
955a775dcd Sign the assembly. Issue #54 2016-06-08 20:54:00 -05:00
Michele Cattafesta
a74579b196 readme.md: appveyor build.
Signed-off-by: Michele Cattafesta <michele.cattafesta@mesta-automation.com>
2016-05-20 23:06:15 +02:00
Michele Cattafesta
d7b8a3e039 Merge pull request #57 from Johnnyxy/master
VS2013 - C# 6 auto-property initializers - issue
2016-05-17 15:02:20 +02:00
Johnnyxy
821d470e4b x fixed VS2013 - C# 6 auto-property initializers - issue 2016-05-17 14:19:42 +02:00
Michele Cattafesta
5c04125d55 Added method ClearLastErrorCode (Issue #44).
Signed-off-by: Michele Cattafesta <michele.cattafesta@mesta-automation.com>
2016-05-11 22:20:00 +02:00
Michele Cattafesta
77cd5a34d7 readme.md: added link for documentation and removed example that was not compiling.
Signed-off-by: Michele Cattafesta <michele.cattafesta@mesta-automation.com>
2016-05-08 20:06:30 +02:00
Michele Cattafesta
021d8b2983 Documentation
Signed-off-by: Michele Cattafesta <michele.cattafesta@mesta-automation.com>
2016-05-08 20:00:52 +02:00
Michele Cattafesta
68ba3d4791 Merge pull request #55 from watashimeandeu/master
Sync classic version with universal version.
2016-05-03 10:11:23 +02:00
Marcos Pereira
c50e98110d Sync classic version with universal version. 2016-05-03 08:37:55 +01:00
Michele Cattafesta
9108dbde51 documentation, cleanup and unit tests.
Signed-off-by: Michele Cattafesta <michele.cattafesta@mesta-automation.com>
2016-05-02 21:58:09 +02:00
Michele Cattafesta
28c71c444d Merge pull request #54 from watashimeandeu/master
Sync classic version with universal version.
2016-05-02 11:17:26 +02:00
Marcos Pereira
34a512d8b6 Sync classic version with universal version. 2016-05-02 10:00:08 +01:00
Michele Cattafesta
0a450ec769 Added IDisposable to Plc class.
Signed-off-by: Michele Cattafesta <michele.cattafesta@mesta-automation.com>
2016-05-02 07:40:12 +02:00
Michele Cattafesta
730f2f7da1 S7.Net.Core: fixed compilation error because of the removal of IPlc.
Signed-off-by: Michele Cattafesta <michele.cattafesta@mesta-automation.com>
2016-05-02 00:42:00 +02:00
Michele Cattafesta
f5303cb3a7 ReadMultipleVars: removed returned List, that was of no use, and added documentation.
Signed-off-by: Michele Cattafesta <michele.cattafesta@mesta-automation.com>
2016-05-02 00:38:51 +02:00
Michele Cattafesta
0beb9a91db Removed Name and Tag, that were of no use in this library.
Signed-off-by: Michele Cattafesta <michele.cattafesta@mesta-automation.com>
2016-05-02 00:31:46 +02:00
Michele Cattafesta
63bd361e76 cleanup and documentation.
Signed-off-by: Michele Cattafesta <michele.cattafesta@mesta-automation.com>
2016-05-02 00:31:17 +02:00
Michele Cattafesta
e59ff7d34c Removed IPlc interface, because it was of no use.
Signed-off-by: Michele Cattafesta <michele.cattafesta@mesta-automation.com>
2016-05-02 00:22:54 +02:00
Michele Cattafesta
3fe7ee23eb Revert "signed assembly with Strong Name key (issue #52)."
This reverts commit bb6f9097ee.
2016-05-02 00:00:44 +02:00
Michele Cattafesta
1d8ca309d7 Merge pull request #53 from DJWassink/feature/read-multiple-vars
New feature: read multiple vars
2016-05-01 23:46:28 +02:00
Dirk-Jan
1f0534abc4 Fixed reading of vars bigger than 2 bytes, see killnine/s7netplus#49 2016-05-01 20:37:58 +02:00
Dirk-Jan
6ddcc37294 Added basic reading of multiple vars
Could use some enhancement in splitting a read in multiple requests if it
exceeds the limit
2016-05-01 20:37:58 +02:00
Dirk-Jan Wassink
d4b0f4965e Merge pull request #1 from killnine/master
Update from upstream
2016-05-01 20:32:04 +02:00
Michele Cattafesta
847dddfb3f documentation.
Signed-off-by: Michele Cattafesta <michele.cattafesta@mesta-automation.com>
2016-05-01 19:39:14 +02:00
Michele Cattafesta
bb6f9097ee signed assembly with Strong Name key (issue #52).
Signed-off-by: Michele Cattafesta <michele.cattafesta@mesta-automation.com>
2016-05-01 18:33:54 +02:00
Michele Cattafesta
7d36ec38f0 NuGet 0.1.2
Signed-off-by: Michele Cattafesta <michele.cattafesta@mesta-automation.com>
2016-04-30 23:55:14 +02:00
Michele Cattafesta
0e62b3707b Merge pull request #51 from watashimeandeu/master
Fixes "System.InvalidCastException" on boolean type variable.
2016-04-28 16:55:23 +02:00
Marcos Pereira
12d7574c66 "System.InvalidCastException" on boolean type variable. 2016-04-28 15:28:04 +01:00
Michele Cattafesta
bad0282827 Merge pull request #48 from watashimeandeu/master
[S7.Net.Core] Avoid unhandled exception 'System.Net.Sockets.SocketException'.
2016-04-14 10:24:34 +02:00
Marcos Pereira
1f79a07eba Avoid unhandled exception 'System.Net.Sockets.SocketException'. 2016-04-12 08:38:41 +01:00
Michele Cattafesta
bdaab09014 Merge pull request #46 from watashimeandeu/master
Read classes recursively.
2016-03-14 13:38:18 +01:00
Marcos
2f7025ede6 Read and write class from a specific start bytes address. 2016-03-13 11:54:24 +00:00
Marcos
60ab7b586d Rounding issue on GetClassSize fixed.
Read classes recursively.
2016-03-13 11:53:10 +00:00
Michele Cattafesta
c5dca71560 Merge pull request #45 from watashimeandeu/master
Read structs recursively
2016-03-09 23:39:52 +01:00
Marcos Pereira
5dcd52e9d2 Write struct and multiple bytes from a specific start bytes address. 2016-03-09 14:32:19 +00:00
Marcos Pereira
3e877cad7c Read structs recursively on get struct size and build struct from bytes. 2016-03-09 14:30:20 +00:00
Marcos Pereira
d3f5a8d099 Write struct and multiple bytes from a specific start bytes address. 2016-03-09 14:26:54 +00:00
Michele Cattafesta
ba56e31747 Merge pull request #43 from watashimeandeu/master
Read struct and multiple bytes from a specific start bytes address.
2016-02-23 23:55:00 +01:00
Marcos Pereira
6cff54514f Read struct and multiple bytes from a specific start bytes address. 2016-02-23 09:09:12 +00:00
Michele Cattafesta
849b94d401 Merge pull request #42 from watashimeandeu/master
[.Net Core] fix unhandled exception when timeout reached, by unsubscribing correctly from socketEventArg.Completed event.
2016-02-18 21:11:46 +01:00
Marcos Pereira
ddbdec8473 Handlers removed to avoid:
An exception of type 'System.Net.Sockets.SocketException' occurred in S7.Net.Core.dll but was not handled in user code.
Additional information: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
2016-02-18 19:02:16 +00:00