Portless序列化

This commit is contained in:
艾竹
2023-01-27 20:43:41 +08:00
parent e8bd6faa21
commit 6d1960a8df
9 changed files with 120 additions and 36 deletions

View File

@@ -27,23 +27,41 @@ namespace AIStudio.Wpf.DiagramDesigner
XRatio = viewmodel.XRatio;
YRatio = viewmodel.YRatio;
IsInnerPoint = viewmodel.IsInnerPoint;
IsPortless = viewmodel.IsPortless;
ValueTypePoint = viewmodel.ValueTypePoint;
}
[XmlAttribute]
public double XRatio { get; set; }
public double XRatio
{
get; set;
}
[XmlAttribute]
public double YRatio { get; set; }
public double YRatio
{
get; set;
}
[XmlAttribute]
public bool IsInnerPoint { get; set; }
public bool IsInnerPoint
{
get; set;
}
[XmlAttribute]
public ValueTypePoint ValueTypePoint { get; set; }
public bool IsPortless
{
get; set;
}
[XmlAttribute]
public ValueTypePoint ValueTypePoint
{
get; set;
}
}
}