mirror of
https://gitee.com/wang-yin1/wpf-visual-process-framework
synced 2026-03-03 16:20:50 +08:00
添加项目文件。
This commit is contained in:
56
VisionFrame/Models/LinkModel.cs
Normal file
56
VisionFrame/Models/LinkModel.cs
Normal file
@@ -0,0 +1,56 @@
|
||||
using CommunityToolkit.Mvvm.ComponentModel;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace VisionFrame.Models
|
||||
{
|
||||
public class LinkModel : ObservableObject
|
||||
{
|
||||
public string StartAnchor { get; set; }
|
||||
private string _endAnchor;
|
||||
|
||||
public string EndAnchor
|
||||
{
|
||||
get { return _endAnchor; }
|
||||
set { SetProperty<string>(ref _endAnchor, value); }
|
||||
}
|
||||
|
||||
|
||||
public string StartId { get; set; }
|
||||
public string EndId { get; set; }
|
||||
|
||||
private double _startX;
|
||||
|
||||
public double StartX
|
||||
{
|
||||
get { return _startX; }
|
||||
set { SetProperty<double>(ref _startX, value); }
|
||||
}
|
||||
private double _startY;
|
||||
|
||||
public double StartY
|
||||
{
|
||||
get { return _startY; }
|
||||
set { SetProperty<double>(ref _startY, value); }
|
||||
}
|
||||
private double _endX;
|
||||
|
||||
public double EndX
|
||||
{
|
||||
get { return _endX; }
|
||||
set { SetProperty<double>(ref _endX, value); }
|
||||
}
|
||||
private double _endY;
|
||||
|
||||
public double EndY
|
||||
{
|
||||
get { return _endY; }
|
||||
set { SetProperty<double>(ref _endY, value); }
|
||||
}
|
||||
|
||||
public string Condition { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user