18 Commits

Author SHA1 Message Date
Michele Cattafesta
ad98783888 Added one more test 2017-09-14 18:20:06 +01:00
Michele Cattafesta
cddb826053 Fix V0.1.6 bit write to DB don't work #91 2017-09-14 18:16:35 +01:00
Thomas.Bargetz
ac19f913af fixed #87
IsAvailable is not using the Ping class anymore.
2017-08-11 11:09:35 +02:00
Thomas Bargetz
6d7edc9f86 Types.Class.ToBytes doesn't need a type information, because the object is passed as parameter anyway 2017-08-07 12:06:03 +02:00
Thomas Bargetz
07fe703b3d Classes with arrays can now be read/written from/to the plc 2017-08-07 11:51:58 +02:00
Michele Cattafesta
89415e79b5 Merge branch 'master' into generic-class-and-struct-reading 2017-07-11 22:15:39 +01:00
Thomas Bargetz
6328efbc5b Ignoring properties without a public setter or no setter at all 2017-07-07 10:57:12 +02:00
Thomas Bargetz
4130504a94 Added generic methods for ReadStruct and ReadClass. ReadClass returns the number of read bytes to check if something was read from the plc. 2017-07-07 10:25:12 +02:00
Michele Cattafesta
8c65632d7a Added unit tests to consolidate boolean read/write.
Signed-off-by: Michele Cattafesta <michele.cattafesta@mesta-automation.com>
2017-05-23 22:29:43 +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
63bd361e76 cleanup and documentation.
Signed-off-by: Michele Cattafesta <michele.cattafesta@mesta-automation.com>
2016-05-02 00:31:17 +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
Michele Cattafesta
9a790376ff fix Issue #38: now read and write bytes handles address overflow correctly.
Signed-off-by: Michele Cattafesta <michele.cattafesta@mesta-automation.com>
2016-02-13 12:26:50 +01:00
Michele Cattafesta
287fd667ea unit tests: bug fix that prevented test to run after installation of VS 2015.
Signed-off-by: Michele Cattafesta <michele.cattafesta@mesta-automation.com>
2016-02-09 00:14:40 +01:00
Michele Cattafesta
9aa01a4aad Read/Write class and structs now handle more than 200 bytes with multiple requests (Issue #30 and Issue #27).
Signed-off-by: Michele Cattafesta <michele.cattafesta@mesta-automation.com>
2015-10-05 23:44:49 +02:00
Johnnyxy
533a18e2cc o changed target .NET framework to v3.5 (higher .NET versions can load and execute lower versions code)
x fixes compatibility to support .NET 3.5 (removed unused usings/imports and changed method calls to .NET equivalents)
2015-06-17 17:04:12 +02:00
Michele Cattafesta
34f304179f Fixes a problem that prevented to run unit tests on a pc without Step7 installed.
Signed-off-by: Michele Cattafesta <michele.cattafesta@mesta-automation.com>
2015-02-02 22:44:05 +01:00
Michele Cattafesta
73437f9ea3 Added Unit Tests.
Signed-off-by: Michele Cattafesta <michele.cattafesta@mesta-automation.com>
2014-12-22 14:31:52 +01:00