Michael Croes
|
130eeadbd8
|
Merge branch 'main' into s5-date
|
2023-09-07 21:20:54 +02:00 |
|
Michael Croes
|
4764c997ed
|
refactor: Replace DateTime.Length with Plc.DateTimeLength in Plc.Clock
|
2023-09-04 22:20:31 +02:00 |
|
Michael Croes
|
cb24e9a046
|
feat: Implement clock write support
|
2023-09-04 22:15:52 +02:00 |
|
Michael Croes
|
10315b4b4c
|
style: Add missing space in WriteClockAsync summary
|
2023-09-04 21:55:34 +02:00 |
|
Michael Croes
|
f419df4d73
|
feat: Stub PLC WriteClock methods
|
2023-08-31 19:55:41 +02:00 |
|
Michael Croes
|
1969aac1b2
|
refactor: Rename WriteSzlRequestHeader to WriteUserDataRequest
|
2023-08-31 19:36:00 +02:00 |
|
Michael Croes
|
07325db2fa
|
feat: Implement clock reading
|
2023-08-29 21:34:09 +02:00 |
|
Michael Croes
|
eada47cd24
|
refactor(PLCHelpers): Extract WriteSzlRequestHeader
|
2023-08-29 20:41:55 +02:00 |
|
Michael Croes
|
6fc526b886
|
Stub PLC ReadClock methods
|
2023-08-23 22:40:57 +02:00 |
|
bonk-dev
|
f227ad4b53
|
Expose IecMinDate and IecMaxDate as properties
|
2023-08-23 12:03:22 +02:00 |
|
Dawid Pągowski
|
e4cc42fa51
|
Add support for serializing IEC date
|
2023-08-23 01:04:23 +02:00 |
|
Dawid Pągowski
|
689e7ffd96
|
Increase the maximum date
The spec goes up to a full 2168 year, but the PLC date type goes up to 2169 June 06 which is represented by 65535 (max ushort value).
|
2023-08-23 00:53:29 +02:00 |
|
Dawid Pągowski
|
8087b8d315
|
Change the thrown exceptions to ArgumentOutOfRangeException
|
2023-08-23 00:43:17 +02:00 |
|
Dawid Pągowski
|
a55ceba679
|
Add IEC Date VarType support to PLCHelpers.cs
|
2023-08-23 00:38:24 +02:00 |
|
Dawid Pągowski
|
eb1fad9333
|
Add IEC date DataType
|
2023-08-23 00:27:55 +02:00 |
|
Himmelt
|
e98ce005c5
|
update param description
|
2023-08-18 16:50:53 +08:00 |
|
Himmelt
|
11a40cc5e3
|
update summary
|
2023-08-18 16:37:50 +08:00 |
|
Himmelt
|
f79286b2d0
|
Apply suggestions from code review
Co-authored-by: Michael Croes <mycroes@gmail.com>
|
2023-08-18 15:58:35 +08:00 |
|
Himmelt
|
fadd7d0cb3
|
update params descriptions and change param name from "bitPosition" to "index"
|
2023-08-17 13:33:07 +08:00 |
|
Himmelt
|
652ff3a9bb
|
Update S7.Net/Conversion.cs
Co-authored-by: Günther Foidl <gue@korporal.at>
|
2023-08-16 17:19:53 +08:00 |
|
Himmelt
|
9c0fea721a
|
Update S7.Net/Conversion.cs
Co-authored-by: Günther Foidl <gue@korporal.at>
|
2023-08-16 17:18:33 +08:00 |
|
Himmelt
|
2ec73224c1
|
Add SetBit method to modify one bit of a byte
|
2023-08-15 18:08:10 +08:00 |
|
Michael Croes
|
55aa06a1fc
|
Merge branch 'main' into timespan
|
2023-08-03 21:55:20 +02:00 |
|
Michael Croes
|
addf6068bb
|
style(ReadStatusAsync): Move opening brace to new line
|
2023-08-01 22:56:08 +02:00 |
|
Michael Croes
|
970e9d4395
|
feat: Add sync version of ReadStatus
|
2023-08-01 22:55:19 +02:00 |
|
Michael Croes
|
c3934c3493
|
fix(ReadStatusAsync): Fix index of status in response message
|
2023-08-01 22:52:44 +02:00 |
|
Michael Croes
|
e5823f2806
|
doc(ReadStatusAsync): Add missing cancellationToken documentation
|
2023-08-01 22:52:10 +02:00 |
|
Michael Croes
|
97e27ccc2b
|
chore(ReadStatusAsync): Make cancellationToken optional
|
2023-08-01 22:51:47 +02:00 |
|
Michael Croes
|
088cd0a4a8
|
Merge branch 'main' into plc-status
|
2023-07-29 23:12:22 +02:00 |
|
Michael Croes
|
e26860b0c0
|
build: Extend NoWarn
- Amend existing NoWarn if set
- Ignore out of support target framework warning
|
2023-07-28 23:57:55 +02:00 |
|
Michael Croes
|
6e103cea63
|
fix: Fix warnings in Struct
|
2023-07-28 23:55:12 +02:00 |
|
Michael Croes
|
c5023c10e4
|
style: Cleanup line endings in S7String
|
2023-07-28 23:54:15 +02:00 |
|
Michael Croes
|
b61ac32913
|
fix: Permit nulls in string ToByteArray conversions
|
2023-07-28 23:52:57 +02:00 |
|
Michael Croes
|
b27e1c9083
|
build: Set LangVersion to latest
|
2023-07-28 23:51:09 +02:00 |
|
Michael Croes
|
71f7f8b400
|
fix: Fix nullability warning in String.ToByteArray
|
2023-07-27 00:16:40 +02:00 |
|
Michael Croes
|
4aca9e4e53
|
fix: Fix remaining nullability warnings in Class
|
2023-07-27 00:11:18 +02:00 |
|
Michael Croes
|
c3f86c32a2
|
fix: Fix nullability warnings in Class.FromBytes
|
2023-07-26 23:52:28 +02:00 |
|
Michael Croes
|
3d0dd693ba
|
fix: Fix nullability warnings in Class.ToBytes
|
2023-07-26 23:47:32 +02:00 |
|
Michael Croes
|
8ad25033d5
|
chore: Fix xmldoc warnings
|
2023-07-26 23:38:32 +02:00 |
|
Michael Croes
|
12e180ea2d
|
build: Don't warn on missing xmldoc
While definitely desirable, at least temporarily disabled in order to
find other warnings.
|
2023-07-26 23:14:38 +02:00 |
|
Michael Croes
|
019aeb26dc
|
Merge branch 'main' into plc-status
# Conflicts:
# S7.Net.UnitTest/S7.Net.UnitTest.csproj
|
2023-07-23 23:34:03 +02:00 |
|
Michael Croes
|
18402604d1
|
feat: Add net462, net6.0 and net7.0 targeting to S7NetPlus
This should be the actual baseline, which is also what the test project
targets now.
|
2023-07-23 23:04:03 +02:00 |
|
Michael Croes
|
0d9ccea11b
|
feat: Add Plc.ReadStatusAsync
|
2023-07-22 22:53:45 +02:00 |
|
Michael Croes
|
1fc6899905
|
feat: Add WriteSzlReadRequest
|
2023-07-21 22:28:22 +02:00 |
|
Michael Croes
|
18c3883dc0
|
feat: Add WriteUserDataHeader
|
2023-07-21 22:27:30 +02:00 |
|
Michael Croes
|
1f26833244
|
fix: Add missing xmldoc nodes in PLCHelpers
|
2023-07-21 21:26:13 +02:00 |
|
Michael Croes
|
7d212134e3
|
refactor: Rename BuildHeaderPackage to WriteReadHeader
|
2023-07-21 21:23:00 +02:00 |
|
Michael Croes
|
cf94f8ad11
|
fix(PLCHelpers): Fix errors from refactors
|
2023-07-20 21:25:24 +02:00 |
|
Michael Croes
|
8becc562a8
|
refactor: Cleanup inline math in BuildHeaderPackage
- Remove unnecessary parentheses
- Use constant value first in multiplication
|
2023-07-19 23:32:00 +02:00 |
|
Michael Croes
|
296ead69c7
|
refactor: Use Word.ToByteArray in WriteTpktHeader
|
2023-07-19 23:30:02 +02:00 |
|