inital
This commit is contained in:
31
FasdDesktopUi/Basics/Models/DataHistoryValueModel.cs
Normal file
31
FasdDesktopUi/Basics/Models/DataHistoryValueModel.cs
Normal file
@@ -0,0 +1,31 @@
|
||||
using FasdDesktopUi.Basics.Enums;
|
||||
using FasdDesktopUi.Basics.UiActions;
|
||||
|
||||
using Newtonsoft.Json;
|
||||
using Newtonsoft.Json.Converters;
|
||||
|
||||
namespace FasdDesktopUi.Basics.Models
|
||||
{
|
||||
public class cDataHistoryValueModel
|
||||
{
|
||||
public string Content { get; set; }
|
||||
|
||||
private string contentDecription;
|
||||
public string ContentDescription
|
||||
{
|
||||
get { return contentDecription ?? Content; }
|
||||
set { contentDecription = value; }
|
||||
}
|
||||
|
||||
public bool IsLoading { get; set; } = false;
|
||||
|
||||
[JsonConverter(typeof(StringEnumConverter))]
|
||||
public enumHighlightColor? HighlightColor { get; set; }
|
||||
|
||||
[JsonIgnore]
|
||||
public cUiActionBase UiAction { get; set; }
|
||||
|
||||
[JsonIgnore]
|
||||
public cStateThresholdValues ThresholdValues { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user