Merge from branch giga

This commit is contained in:
Nitload
2025-08-31 10:42:51 +08:00
parent 1fc687f7d0
commit 1a0ccdd8cb
1619 changed files with 2812 additions and 733136 deletions
@@ -28,29 +28,35 @@
//
//-----------------------------------------------------------------------
//-----------------------------------------------------------------------
using StgSharp.Script;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using StgSharp.Model.Step;
using StgSharp.Script;
using StgSharp.Script.Express;
using System;
using System.Collections.Generic;
namespace StgSharp.Modeling.Items
namespace StgSharp.Model.Step
{
public abstract partial class StepRepresentationItem
public class StepRepresentationItem : StepEntityBase, IExpConvertableFrom<StepRepresentationItem>
{
protected StepRepresentationItem( string name )
protected StepRepresentationItem( StepModel model )
{
Name = name;
Context = model;
}
public abstract StepItemType ItemType { get; }
public override StepItemType ItemType => StepItemType.PresentationItem;
public string Name { get; set; }
internal virtual IEnumerable<StepRepresentationItem> GetReferencedItems()
public void FromInstance( StepRepresentationItem entity )
{
yield break;
base.FromInstance( entity );
}
public virtual bool IsConvertableTo( string entityName )
{
return entityName == "StepRepresentationItem";
}
}