-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathProcessItem.cs
More file actions
23 lines (22 loc) · 916 Bytes
/
ProcessItem.cs
File metadata and controls
23 lines (22 loc) · 916 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
using System.ComponentModel;
using System.Windows.Media;
namespace MyClock
{
/// <summary>
/// 矩形数据模型(新增IsSolid标识)
/// </summary>
public class ProcessItem
{
public int Id { get; set; }
public int IsSolid { get; set; } = 1;
public double Width { get; set; } = 6;
public double Height { get; set; } = 6;
public double StrokeThickness { get; set; } = 0.5;
public Brush HollowStroke => new SolidColorBrush(Color.FromRgb(20, 20, 20));
public Brush HollowFill => new SolidColorBrush(Color.FromRgb(20, 20, 20));
public Brush SolidStroke => new SolidColorBrush(Color.FromRgb(255, 128, 0));
public Brush SolidFill => new SolidColorBrush(Color.FromRgb(255, 128, 0));
public Brush SolidBiddingStroke => Brushes.Red;
public Brush SolidBiddingFill => Brushes.Red;
}
}