Files
C4IT-F4SD-Client/FasdDesktopUi/Pages/DetailsPage/Models/cDetailsPageDataHistoryDataModel.cs
2025-11-11 11:03:42 +01:00

51 lines
1.5 KiB
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using FasdDesktopUi.Basics.Enums;
using FasdDesktopUi.Basics.Models;
namespace FasdDesktopUi.Pages.DetailsPage.Models
{
public class DetailsPageDataHistoryValueModel : cDataHistoryValueModel
{
public enumHistoryTitleType? PresentationStyle { get; set; }
public List<List<string>> DetailedData { get; set; }
}
public class DetailsPageDataHistoryColumnModel : DetailsPageDataHistoryValueModel
{
public List<DetailsPageDataHistoryValueModel> ColumnValues { get; set; }
}
public class cDetailsPageDataHistoryDataModel
{
public DetailsPageDataHistoryColumnModel TitleColumn { get; set; }
public List<DetailsPageDataHistoryColumnModel> ValueColumns { get; set; }
public double TitleColumnWidth { get; set; } = 250;
public double ValueColumnWidth { get; set; } = 100;
}
public class DataHistoryEventArgs : RoutedEventArgs
{
public DetailsPageDataHistoryValueModel HistoryValueData { get; set; }
public DataHistoryEventArgs()
{
}
public DataHistoryEventArgs(RoutedEvent routedEvent) : base(routedEvent)
{
}
public DataHistoryEventArgs(RoutedEvent routedEvent, object source) : base(routedEvent, source)
{
}
}
}