-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for Device Status Widgets
- Loading branch information
1 parent
4e40afa
commit 373d8a0
Showing
4 changed files
with
29 additions
and
3 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
namespace LogicMonitor.Api.Dashboards; | ||
|
||
/// <summary> | ||
/// A Device Status Widget | ||
/// </summary> | ||
[DataContract] | ||
public class DeviceStatusWidget : Widget, IWidget | ||
{ | ||
/// <summary> | ||
/// The Device ID | ||
/// </summary> | ||
[DataMember(Name = "deviceId")] | ||
public string DeviceId { get; set; } = string.Empty; | ||
|
||
/// <summary> | ||
/// The Device Display Name | ||
/// </summary> | ||
[DataMember(Name = "deviceDisplayName")] | ||
public string DeviceDisplayName { get; set; } = string.Empty; | ||
|
||
/// <summary> | ||
/// The Display Settings | ||
/// </summary> | ||
[DataMember(Name = "displaySettings")] | ||
public DisplaySettings DisplaySettings { get; set; } = new(); | ||
} |
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