Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add .NET Core 3.0 tcp client #36

Open
wants to merge 33 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
97855f2
WIP - CSharpClient
rickardraysearch Oct 30, 2019
deb8759
WIP
rickardraysearch Oct 31, 2019
143ace7
Has tests
rickardraysearch Oct 31, 2019
76590b8
LF instead of CRLF
rickardraysearch Nov 1, 2019
e3ee9cf
Simplified tests
rickardraysearch Nov 1, 2019
f7c8ef4
Add build and test tasks to .vscode/tasks.json
rickardraysearch Nov 1, 2019
4ad2fbe
Add all endpoints, tests and documentation.
rickardraysearch Nov 7, 2019
e256690
MIT License and nuget
rickardraysearch Nov 8, 2019
91aae98
Add pack task for creating nuget packages
rickardraysearch Nov 8, 2019
c2edcef
Allow closing the client
rickardraysearch Nov 8, 2019
1d892e2
Added example, actually working
rickardraysearch Nov 8, 2019
94322d4
Remove console logging
rickardraysearch Nov 8, 2019
a1ac02d
Remove unnecessary usings
rickardraysearch Nov 8, 2019
b219278
More
rickardraysearch Nov 8, 2019
efe6558
Minifix
rickardraysearch Nov 8, 2019
2613bfe
Added documentation
rickardraysearch Nov 8, 2019
72245fa
Remove ToSnakeCaseUpper and dependency on the method names
rickardraysearch Nov 9, 2019
23eb493
Rename GetDigitalIoState to GetDigitalIOState, per regular C# rules
rickardraysearch Nov 9, 2019
5e38d92
Add coverage report to test run
rickardraysearch Nov 9, 2019
ea79369
Use invariant culture for floating point string ops
rickardraysearch Nov 10, 2019
5a3a499
Ignore coverage.json
rickardraysearch Nov 10, 2019
c3490d3
Add enough comments to be warning-free
rickardraysearch Nov 10, 2019
b8a541a
Don't require newlines after robot responses
rickardraysearch Nov 11, 2019
04ac2d7
Rename old incorrect test method
rickardraysearch Nov 12, 2019
1b3f0f5
Adds interface to NiryoOneClient and NiryoOneConnection
miber Nov 20, 2019
15b207f
Return interface in Connect method
miber Nov 20, 2019
baaf1d8
Merge pull request #1 from MikaelBertze/rickardraysearch/csharp_tcp_c…
rickardraysearch Nov 20, 2019
24d1b78
Remove Dispose() from INiryoOneClient
rickardraysearch Nov 20, 2019
18818e4
Don't create nuget packages for the example code
rickardraysearch Nov 20, 2019
30b0fe4
Fixing regexp for KO response
miber Nov 21, 2019
d9b12d5
fixing exception message
miber Nov 21, 2019
24fd050
Fixing KO response tests
miber Nov 21, 2019
a8fcbea
Merge pull request #2 from MikaelBertze/rickardraysearch/csharp_tcp_c…
rickardraysearch Nov 22, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fixing exception message
miber committed Nov 21, 2019
commit d9b12d5bed14cc0fd9c4aa708692675ba6641dd2
Original file line number Diff line number Diff line change
@@ -118,7 +118,7 @@ internal async Task<string> ReceiveAnswerAsync(string commandType, string regex
var commaSplit2 = colonSplit[1].Split(',', 2);
var status = commaSplit2[0];
if (status != "OK")
throw new NiryoOneException(commaSplit2[1].TrimStart('"').TrimEnd('"'));
throw new NiryoOneException(commaSplit2[1]);

if (commaSplit2.Length > 1)
return commaSplit2[1];