历史曲线的多日期合并
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
using FreeSql.DataAnnotations;
|
||||
using System.ComponentModel;
|
||||
|
||||
namespace CapMachine.Model
|
||||
{
|
||||
@@ -6,7 +7,7 @@ namespace CapMachine.Model
|
||||
/// 历史工况对应的文件信息
|
||||
/// </summary>
|
||||
[Table(Name = "HistoryWorkCondFile")]
|
||||
public class HistoryWorkCondFile
|
||||
public class HistoryWorkCondFile : INotifyPropertyChanged
|
||||
{
|
||||
/// <summary>
|
||||
/// 主键
|
||||
@@ -49,5 +50,23 @@ namespace CapMachine.Model
|
||||
/// </summary>
|
||||
public long HistoryExpId { get; set; }
|
||||
public HistoryExp? HistoryExp { get; set; }
|
||||
|
||||
[Column(IsIgnore = true)]
|
||||
public bool IsSelected
|
||||
{
|
||||
get { return _isSelected; }
|
||||
set
|
||||
{
|
||||
if (_isSelected != value)
|
||||
{
|
||||
_isSelected = value;
|
||||
PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(nameof(IsSelected)));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private bool _isSelected;
|
||||
|
||||
public event PropertyChangedEventHandler? PropertyChanged;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,9 +1,4 @@
|
||||
using FreeSql.DataAnnotations;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace CapMachine.Model
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user