2026-06-05 13:44:39 +09:00

32 lines
799 B
C#

using Aurora.View;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace WeldingCommon.Data
{
public abstract class ReportData : NotifyPropertyChangedBase, ICloneable
{
[ReadOnly(false)]
public string DataName { get => _DataName; set => SetProperty(ref _DataName, value); }
private string _DataName;
[Browsable(false)]
public double Value { get => _Value; set => SetProperty(ref _Value, value); }
private double _Value;
public ReportData(string dataName) {
DataName = dataName;
}
public virtual void Clear()
{
Value = 0;
}
public abstract object Clone();
}
}