mirror of
https://gitee.com/akwkevin/aistudio.-wpf.-diagram
synced 2026-03-20 00:16:36 +08:00
50 lines
1.1 KiB
C#
50 lines
1.1 KiB
C#
using AIStudio.Wpf.DiagramDesigner;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.IO;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using System.Xml;
|
|
using System.Xml.Serialization;
|
|
|
|
namespace AIStudio.Wpf.DiagramDesigner
|
|
{
|
|
/// <summary>
|
|
/// 完整连接点
|
|
/// </summary>
|
|
[Serializable]
|
|
[XmlInclude(typeof(FullyCreatedConnectorInfoItem))]
|
|
public class FullyCreatedConnectorInfoItem : ConnectorInfoItemBase
|
|
{
|
|
public FullyCreatedConnectorInfoItem()
|
|
{
|
|
|
|
}
|
|
|
|
public FullyCreatedConnectorInfoItem(FullyCreatedConnectorInfo viewmodel) : base(viewmodel)
|
|
{
|
|
XRatio = viewmodel.XRatio;
|
|
YRatio = viewmodel.YRatio;
|
|
IsInnerPoint = viewmodel.IsInnerPoint;
|
|
ValueTypePoint = viewmodel.ValueTypePoint;
|
|
}
|
|
|
|
|
|
[XmlAttribute]
|
|
public double XRatio { get; set; }
|
|
|
|
[XmlAttribute]
|
|
public double YRatio { get; set; }
|
|
|
|
|
|
[XmlAttribute]
|
|
public bool IsInnerPoint { get; set; }
|
|
|
|
[XmlAttribute]
|
|
public ValueTypePoint ValueTypePoint { get; set; }
|
|
|
|
|
|
}
|
|
}
|