You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

162 lines
3.7 KiB

using GummingCommon;
using System;
using System.Collections.Generic;
using System.Text;
namespace GummingEntity
{
public class PatternParameter : ViewModelBase
{
public object Clone()
{
return new PatternParameter()
{
PatternWidth = this.PatternWidth,
PatternHeight = this.PatternHeight,
RootWidth = this.RootWidth,
RootHeight = this.RootHeight,
WidthScale = this.WidthScale,
HeightScale = this.HeightScale,
NumNeedle = this.NumNeedle,
SpendMinutes = this.SpendMinutes,
SpendSeconds = this.SpendSeconds,
SpendTimes = this.SpendTimes
};
}
private double _PatternWidth;
public double PatternWidth
{
get
{
return _PatternWidth;
}
set
{
_PatternWidth = value;
OnPropertyChanged("PatternWidth");
}
}
private double _PatternHeight;
public double PatternHeight
{
get
{
return _PatternHeight;
}
set
{
_PatternHeight = value;
OnPropertyChanged("PatternHeight");
}
}
private double _RootWidth;
public double RootWidth
{
get
{
return _RootWidth;
}
set
{
_RootWidth = value;
OnPropertyChanged("RootWidth");
}
}
private double _RootHeight;
public double RootHeight
{
get
{
return _RootHeight;
}
set
{
_RootHeight = value;
OnPropertyChanged("RootHeight");
}
}
private double _WidthScale;
public double WidthScale
{
get
{
return _WidthScale;
}
set
{
_WidthScale = value;
OnPropertyChanged("WidthScale");
}
}
private double _HeightScale;
public double HeightScale
{
get
{
return _HeightScale;
}
set
{
_HeightScale = value;
OnPropertyChanged("HeightScale");
}
}
private double _NumNeedle;
public double NumNeedle
{
get
{
return _NumNeedle;
}
set
{
_NumNeedle = value;
OnPropertyChanged("NumNeedle");
}
}
private double _SpendMinutes;
public double SpendMinutes
{
get
{
return _SpendMinutes;
}
set
{
_SpendMinutes = value;
OnPropertyChanged("SpendMinutes");
}
}
private double _SpendSeconds;
public double SpendSeconds
{
get
{
return _SpendSeconds;
}
set
{
_SpendSeconds = value;
OnPropertyChanged("SpendSeconds");
}
}
private string _SpendTimes;
public string SpendTimes
{
get
{
return _SpendTimes;
}
set
{
_SpendTimes = value;
OnPropertyChanged("SpendTimes");
}
}
}
}