-
-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1680 from pkuehnel/feat/handleFleetTelemetryError…
…Messages feat(FleetTelemetryWebSocketService): can handle error messages
- Loading branch information
Showing
6 changed files
with
95 additions
and
5 deletions.
There are no files selected for viewing
8 changes: 8 additions & 0 deletions
8
TeslaSolarCharger/Server/Dtos/FleetTelemetry/DtoFleetTelemetryErrorMessage.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
namespace TeslaSolarCharger.Server.Dtos.FleetTelemetry; | ||
|
||
public class DtoFleetTelemetryErrorMessage | ||
{ | ||
public List<string> MissingKeyVins { get; set; } = new List<string>(); | ||
public List<string> UnsupportedHardwareVins { get; set; } = new List<string>(); | ||
public List<string> UnsupportedFirmwareVins { get; set; } = new List<string>(); | ||
} |
2 changes: 1 addition & 1 deletion
2
...erver/Dtos/DtoTscFleetTelemetryMessage.cs → ...tTelemetry/DtoTscFleetTelemetryMessage.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 8 additions & 0 deletions
8
TeslaSolarCharger/Server/Dtos/FleetTelemetry/FleetTelemetryMessageBase.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
using TeslaSolarCharger.Server.Enums; | ||
|
||
namespace TeslaSolarCharger.Server.Dtos.FleetTelemetry; | ||
|
||
public class FleetTelemetryMessageBase | ||
{ | ||
public FleetTelemetryMessageType MessageType { get; set; } | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
namespace TeslaSolarCharger.Server.Enums; | ||
|
||
public enum FleetTelemetryMessageType | ||
{ | ||
Telemetry, | ||
Error, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters