Commit Graph

73 Commits

Author SHA1 Message Date
ce0a287e4e 2.5.0
Update DefaultEndpoint
Update ControlActionEnum.cs
2024-11-03 01:11:33 +01:00
7693aa8b09 2.4.2 2024-11-03 00:35:59 +01:00
746e153cb5 Fix ShockerJsonConverter 2024-02-15 23:11:56 +01:00
60746d66df Version 2024-02-12 03:07:18 +01:00
eebf15804a ToString fancy 2024-02-12 03:06:28 +01:00
2c7da0352b Fancier output 2024-02-12 02:05:22 +01:00
17206bfb8c Let Constructor throw Exception instead of method 2024-02-12 02:05:13 +01:00
4839c12340 Add RandomValueWithinLimits to IntegerRange 2024-02-12 02:04:58 +01:00
1eed03ac14 GetHashcode and Equals usage 2024-02-12 02:04:45 +01:00
f6e8ddb91d ToString more conventional 2024-02-12 02:04:09 +01:00
8d70879c68 Capitalized FieldNames onn public fields 2024-02-12 02:03:35 +01:00
171b057d58 Renamed to IsValueWithinLimits 2024-02-12 02:02:30 +01:00
bb8959160a Mark exposed fields and methods 2024-02-12 02:02:10 +01:00
cbca4fd7de ValidIntensityRange and ValidDurationRange internal readonly 2024-02-11 23:24:25 +01:00
978b384759 Create ApiHttpClient
Use Useragent from Assembly.
2024-02-11 22:57:35 +01:00
b56cfa39aa Cleanup 2024-02-11 22:56:55 +01:00
c14279fbbe Remove random Integer class.
Add check if value for intensity and duration is within accepted range.
2024-02-11 22:24:53 +01:00
194e54fd9a renamed variable to workONqueue 2024-02-11 22:11:35 +01:00
8a640491cb Fix Converters 2024-02-04 17:47:36 +01:00
c603fe0ccb Fix unecessary parameters in OpenShockApi.GetShockers(); 2024-02-04 16:25:15 +01:00
65059f66ed Rewrite Hierachy that shockers now contain the api they use. 2024-02-01 23:03:28 +01:00
9596811ae7 Hashcodes 2024-01-29 17:23:03 +01:00
961dcd29d1 Equal overrides 2024-01-29 17:20:32 +01:00
90f804c7c6 Equal overrides 2024-01-29 17:05:13 +01:00
60c1ece41d redundant declaration 2024-01-29 15:37:43 +01:00
ac19e20fb7 Fix OpenShockHttp: Wrong json caused Bad Request
Get OpenShock Shockers from API.
Save Shockers for PiShock and OpenShock in different structs
Implement Action Queue, to avoid synchronous actions getting lost.

Moved SerialPortInfo to own file
Created ShockerJsonConverter
Better separation of Devices/APIs and Shockers
2024-01-29 15:37:19 +01:00
8dc8af3792 Logging 2024-01-28 18:35:37 +01:00
dea3268cea Add more logging 2024-01-28 18:30:38 +01:00
ed4eb644a0 Fi xjson message string 2024-01-28 18:25:33 +01:00
4b19a9f434 Fix wrong api bug 2024-01-28 17:57:53 +01:00
38f7fe1aa3 nuget version 2024-01-20 21:31:31 +01:00
ad93d36d8d Revert "Overwrite ShockerIDs for OpenShockSerial"
This reverts commit a6040f2e5c.
2024-01-20 21:31:10 +01:00
a6040f2e5c Overwrite ShockerIDs for OpenShockSerial 2024-01-20 21:16:55 +01:00
1daf9a175e Use Http-API to get RF-IDs for OpenShockSerial 2024-01-20 21:15:26 +01:00
67bb9c4f9a JsonConverter 2024-01-20 20:27:50 +01:00
2d47aa7492 Formatting 2024-01-20 20:25:31 +01:00
5de7e3c0ce wrong serial command 2024-01-20 20:19:25 +01:00
9bcfd75aa2 nullable 2024-01-20 20:04:10 +01:00
076b6fc271 Add TestApp 2024-01-20 20:02:12 +01:00
610518e5b5 Add OpenShockSerial 2024-01-20 20:02:05 +01:00
09ce5cbedc Fix ID selector when getting shocker ids 2024-01-19 03:02:14 +01:00
ae5429ba65 Fix wrong order on base-constructor call 2024-01-19 02:28:10 +01:00
0a9ff84a4e Fix wrong HttpMethod 2024-01-19 02:09:33 +01:00
aefe3ab30b JsonConverter fix OpenShockHttp, add PiShockHttp 2024-01-19 01:58:36 +01:00
eb82034190 OpenShockHttp add GetShockers method, returns list of shockerids 2024-01-19 01:54:27 +01:00
895f8c528d Add PiShockHttp
Change order of instructor variables for HttpShockers
Add default Endpoints for OpenShock and PiShock
2024-01-19 01:32:06 +01:00
a6e2bef231 Update OpenShockHttp to version 2 api 2024-01-19 01:21:39 +01:00
174cea5724 nuget version 2024-01-19 01:21:02 +01:00
907089abe1 ToString overrides 2024-01-17 23:12:51 +01:00
c333adb2e4 Wrong conversion 2024-01-17 22:49:46 +01:00