This commit is contained in:
Meik
2025-11-11 11:03:42 +01:00
commit dc3e8a2e4c
582 changed files with 191465 additions and 0 deletions

View File

@@ -0,0 +1,115 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace GraphicData.Class
{
public class cDataModel : INotifyPropertyChanged
{
public event PropertyChangedEventHandler PropertyChanged;
private List<object[]> data;
public List<object[]> Data
{
get { return data; }
set { data = value;
PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(nameof(Data)));
}
}
private int indexTime;
public int IndexTime
{
get { return indexTime; }
set
{
indexTime = value;
PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(nameof(IndexTime)));
}
}
private int indexValue;
public int IndexValue
{
get { return indexValue; }
set
{
indexValue = value;
PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(nameof(IndexValue)));
}
}
private int indexDuration;
public int IndexDuration
{
get { return indexDuration; }
set
{
indexDuration = value;
PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(nameof(IndexDuration)));
}
}
private int warningThreshold;
public int WarniningThreshold
{
get { return warningThreshold; }
set
{
warningThreshold = value;
PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(nameof(WarniningThreshold)));
}
}
private int errorThreshold;
public int ErrorThreshold
{
get { return errorThreshold; }
set
{
errorThreshold = value;
PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(nameof(ErrorThreshold)));
}
}
private bool isThresholdActive;
public bool IsThresholdActive
{
get { return isThresholdActive; }
set
{
isThresholdActive = value;
PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(nameof(IsThresholdActive)));
}
}
private string graphicTitle;
public string GraphicTitle
{
get { return graphicTitle; }
set
{
graphicTitle = value;
PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(nameof(GraphicTitle)));
}
}
}
}

View File

@@ -0,0 +1,19 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace GraphicData.Class
{
public class cGraphicData
{
public DateTime DataTime { get; set; }
public double DataValue { get; set; }
public int DataDuration { get; set; }
public cGraphicData() { }
}
}