Commit Graph

118 Commits

Author SHA1 Message Date
Michele Cattafesta
d9d2c19dcd WriteBytesWithASingleRequest private.
Signed-off-by: Michele Cattafesta <michele.cattafesta@mesta-automation.com>
2016-09-12 23:10:16 +02:00
Michele Cattafesta
ac66173f8a Merge pull request #66 from maurodx/patch-1
Changed WriteBytes to allow byte[] longer than 200 bytes
2016-09-12 22:58:36 +02:00
Mauro Destro
a2c68600cc Missing localIndex offset on startIndex
Missing localIndex to offset start write position
2016-09-12 12:08:50 +02:00
Mauro Destro
07f3513f20 Changed WriteBytes to allow byte[] longer than 200 bytes
Similar to ReadBytes that allow arrays longer than 200 bytes.
2016-09-12 10:52:05 +02:00
Michele Cattafesta
7e7b867789 nuget: support for .Net 3.5, .Net 4.0, .Net 4.5 and included xml documentation (Issue #65).
Signed-off-by: Michele Cattafesta <michele.cattafesta@mesta-automation.com>
2016-08-26 13:27:49 +02:00
Michele Cattafesta
8f4dd2eb7b removed files not used.
Signed-off-by: Michele Cattafesta <michele.cattafesta@mesta-automation.com>
2016-08-26 13:08:13 +02:00
Michele Cattafesta
7012205c3e documentation, cleanup and formatting + output xml documentation. 2016-08-26 13:06:34 +02:00
Michele Cattafesta
b4d99010fb argument check for conversions.
Signed-off-by: Michele Cattafesta <michele.cattafesta@mesta-automation.com>
2016-08-26 12:56:42 +02:00
Michele Cattafesta
9d56d33087 VarTypeToByteLength and ParseBytes are now private.
Signed-off-by: Michele Cattafesta <michele.cattafesta@mesta-automation.com>
2016-08-26 12:53:11 +02:00
Michele Cattafesta
78bb5ea1fa plc: implemented shutdown of the socket correctly (Issue #29).
Signed-off-by: Michele Cattafesta <michele.cattafesta@mesta-automation.com>
2016-08-26 12:29:23 +02:00
Michele Cattafesta
83e45e3be8 ReadBytes handles more than 200 bytes and is public.
Signed-off-by: Michele Cattafesta <michele.cattafesta@mesta-automation.com>
2016-08-26 10:54:24 +02:00
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