Commit Graph

19 Commits

Author SHA1 Message Date
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
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
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