mirror of
https://gitee.com/akwkevin/aistudio.-wpf.-diagram
synced 2026-03-20 00:16:36 +08:00
序列化调整中
This commit is contained in:
@@ -21,7 +21,7 @@ namespace AIStudio.Wpf.SFC.ViewModels
|
||||
|
||||
}
|
||||
|
||||
public SFCActionNode(IDiagramViewModel root, string json) : base(root, json)
|
||||
public SFCActionNode(IDiagramViewModel root, string serializableString, string serializableType) : base(root, serializableString, serializableType)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
@@ -21,7 +21,7 @@ namespace AIStudio.Wpf.SFC.ViewModels
|
||||
{
|
||||
}
|
||||
|
||||
public SFCCOBeginNode(IDiagramViewModel root, string json) : base(root, json)
|
||||
public SFCCOBeginNode(IDiagramViewModel root, string serializableString, string serializableType) : base(root, serializableString, serializableType)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
@@ -21,7 +21,7 @@ namespace AIStudio.Wpf.SFC.ViewModels
|
||||
{
|
||||
}
|
||||
|
||||
public SFCCOEndNode(IDiagramViewModel root, string json) : base(root, json)
|
||||
public SFCCOEndNode(IDiagramViewModel root, string serializableString, string serializableType) : base(root, serializableString, serializableType)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
@@ -24,7 +24,7 @@ namespace AIStudio.Wpf.SFC.ViewModels
|
||||
{
|
||||
}
|
||||
|
||||
public SFCConditionNode(IDiagramViewModel root, string json) : base(root, json)
|
||||
public SFCConditionNode(IDiagramViewModel root, string serializableString, string serializableType) : base(root, serializableString, serializableType)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
@@ -26,17 +26,17 @@ namespace AIStudio.Wpf.SFC.ViewModels
|
||||
|
||||
}
|
||||
|
||||
public SFCNode(IDiagramViewModel root, string json) : base(root, json)
|
||||
public SFCNode(IDiagramViewModel root, string serializableString, string serializableType) : base(root, serializableString, serializableType)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public override SelectableItemBase ToXmlObject()
|
||||
public override SelectableItemBase GetSerializableObject()
|
||||
{
|
||||
return new SFCNodeDesignerItem(this);
|
||||
}
|
||||
|
||||
public override Type ToXmlType()
|
||||
public override Type GetSerializableType()
|
||||
{
|
||||
return typeof(SFCNodeDesignerItem);
|
||||
}
|
||||
|
||||
@@ -18,7 +18,7 @@ namespace AIStudio.Wpf.SFC.ViewModels
|
||||
{
|
||||
}
|
||||
|
||||
public SFCNodeNode(IDiagramViewModel root, string json) : base(root, json)
|
||||
public SFCNodeNode(IDiagramViewModel root, string serializableString, string serializableType) : base(root, serializableString, serializableType)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
@@ -17,7 +17,7 @@ namespace AIStudio.Wpf.SFC.ViewModels
|
||||
{
|
||||
}
|
||||
|
||||
public SFCStartNode(IDiagramViewModel root, string json) : base(root, json)
|
||||
public SFCStartNode(IDiagramViewModel root, string serializableString, string serializableType) : base(root, serializableString, serializableType)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
@@ -18,7 +18,7 @@ namespace AIStudio.Wpf.SFC.ViewModels
|
||||
{
|
||||
}
|
||||
|
||||
public Simulate_ListViewModel(IDiagramViewModel root, string json) : base(root, json)
|
||||
public Simulate_ListViewModel(IDiagramViewModel root, string serializableString, string serializableType) : base(root, serializableString, serializableType)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
@@ -23,7 +23,7 @@ namespace AIStudio.Wpf.SFC.ViewModels
|
||||
{
|
||||
}
|
||||
|
||||
public Simulate_SolenoidViewModel(IDiagramViewModel root, string json) : base(root, json)
|
||||
public Simulate_SolenoidViewModel(IDiagramViewModel root, string serializableString, string serializableType) : base(root, serializableString, serializableType)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
@@ -20,7 +20,7 @@ namespace AIStudio.Wpf.SFC.ViewModels
|
||||
{
|
||||
}
|
||||
|
||||
public Simulate_StartViewModel(IDiagramViewModel root, string json) : base(root, json)
|
||||
public Simulate_StartViewModel(IDiagramViewModel root, string serializableString, string serializableType) : base(root, serializableString, serializableType)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
@@ -23,7 +23,7 @@ namespace AIStudio.Wpf.SFC.ViewModels
|
||||
{
|
||||
}
|
||||
|
||||
public Simulate_TankViewModel(IDiagramViewModel root, string json) : base(root, json)
|
||||
public Simulate_TankViewModel(IDiagramViewModel root, string serializableString, string serializableType) : base(root, serializableString, serializableType)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user