This commit is contained in:
parent
1eadacf760
commit
81988597f3
|
@ -21,4 +21,27 @@
|
|||
</Content>
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Compile Remove="Packages\Common~\**" />
|
||||
<Compile Remove="Packages\Editor\**" />
|
||||
<Compile Remove="Packages\Runtime\**" />
|
||||
<Compile Remove="Packages\Core\Cache\**" />
|
||||
<Compile Remove="Packages\Tests\**" />
|
||||
<Compile Remove="Packages\Runtime~\Unity\**" />
|
||||
<Compile Remove="Packages\Runtime~\UnityPluginsSupport\**" />
|
||||
<Compile Remove="Src\Unity\**" />
|
||||
<Compile Remove="Src\UnityPluginsSupport\**" />
|
||||
<Compile Remove="Src\UnityEditor\**" />
|
||||
</ItemGroup>
|
||||
|
||||
|
||||
<ItemGroup>
|
||||
<!-- 排除Unity文件 -->
|
||||
<None Remove="**\*.meta"/>
|
||||
<None Remove="**\*.asmdef"/>
|
||||
<None Remove="Src\Unity\**" />
|
||||
<None Remove="Src\UnityPluginsSupport\**" />
|
||||
<None Remove="Src\UnityEditor\**" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
|
|
|
@ -2,13 +2,13 @@
|
|||
using IDIS.Model;
|
||||
using Newtonsoft.Json;
|
||||
|
||||
namespace IDIS.YL106.Model;
|
||||
|
||||
/// <summary>
|
||||
/// 数据-订单
|
||||
/// </summary>
|
||||
public record Data_Oder : IDIS_Model
|
||||
namespace IDIS.YL106.Model
|
||||
{
|
||||
/// <summary>
|
||||
/// 数据-订单
|
||||
/// </summary>
|
||||
public record Data_Oder : IDIS_Model
|
||||
{
|
||||
public override string[] Tags { get; set; } = new string[] { "order" };
|
||||
|
||||
/// <summary>
|
||||
|
@ -61,4 +61,5 @@ public record Data_Oder : IDIS_Model
|
|||
/// </summary>
|
||||
[DisplayName("原材料标识")]
|
||||
public string Materials { get; set; } = string.Empty;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -2,13 +2,13 @@
|
|||
using IDIS.Model;
|
||||
using Newtonsoft.Json;
|
||||
|
||||
namespace IDIS.YL106.Model;
|
||||
|
||||
/// <summary>
|
||||
/// 实体,用于描述例如机器人、传送带等设备的信息
|
||||
/// </summary>
|
||||
public record Object_Equipment : IDIS_Model
|
||||
namespace IDIS.YL106.Model
|
||||
{
|
||||
/// <summary>
|
||||
/// 实体,用于描述例如机器人、传送带等设备的信息
|
||||
/// </summary>
|
||||
public record Object_Equipment : IDIS_Model
|
||||
{
|
||||
/// <summary>
|
||||
/// 编号
|
||||
/// </summary>
|
||||
|
@ -64,4 +64,5 @@ public record Object_Equipment : IDIS_Model
|
|||
[DisplayName("生产日期")]
|
||||
[JsonProperty("manufacture_date")]
|
||||
public DateTime ManufactureDate { get; set; } =DateTime.MinValue;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -2,13 +2,13 @@
|
|||
using IDIS.Model;
|
||||
using Newtonsoft.Json;
|
||||
|
||||
namespace IDIS.YL106.Model;
|
||||
|
||||
/// <summary>
|
||||
/// 实体,用于描述物料的信息
|
||||
/// </summary>
|
||||
public record Object_Material: IDIS_Model
|
||||
namespace IDIS.YL106.Model
|
||||
{
|
||||
/// <summary>
|
||||
/// 实体,用于描述物料的信息
|
||||
/// </summary>
|
||||
public record Object_Material: IDIS_Model
|
||||
{
|
||||
/// <summary>
|
||||
/// 物料名称
|
||||
/// </summary>
|
||||
|
@ -29,4 +29,5 @@ public record Object_Material: IDIS_Model
|
|||
[DisplayName("生产日期")]
|
||||
[JsonProperty("manufacture_date")]
|
||||
public string ManufactureDate { get; set; } = string.Empty;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -2,13 +2,13 @@
|
|||
using IDIS.Model;
|
||||
using Newtonsoft.Json;
|
||||
|
||||
namespace IDIS.YL106.Model;
|
||||
|
||||
/// <summary>
|
||||
/// 实体,用于描述产品的信息
|
||||
/// </summary>
|
||||
public record Object_Product:IDIS_Model
|
||||
namespace IDIS.YL106.Model
|
||||
{
|
||||
/// <summary>
|
||||
/// 实体,用于描述产品的信息
|
||||
/// </summary>
|
||||
public record Object_Product:IDIS_Model
|
||||
{
|
||||
/// <summary>
|
||||
/// 产品名称
|
||||
/// </summary>
|
||||
|
@ -52,4 +52,5 @@ public record Object_Product:IDIS_Model
|
|||
public string Note { get; set; } = "请不要在用力弯曲或者误食笔芯";
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
using System.ComponentModel;
|
||||
|
||||
namespace IDIS.YL106.Model;
|
||||
|
||||
/// <summary>
|
||||
/// 装配工序
|
||||
/// </summary>
|
||||
public record Procedure_Assembly:Procedure_Base
|
||||
namespace IDIS.YL106.Model
|
||||
{
|
||||
/// <summary>
|
||||
/// 装配工序
|
||||
/// </summary>
|
||||
public record Procedure_Assembly:Procedure_Base
|
||||
{
|
||||
/// <summary>
|
||||
/// 物料名称
|
||||
/// </summary>
|
||||
|
@ -14,4 +14,5 @@ public record Procedure_Assembly:Procedure_Base
|
|||
public string MaterialName { get; set; } = string.Empty;
|
||||
|
||||
|
||||
}
|
||||
}
|
|
@ -2,13 +2,13 @@ using System.ComponentModel;
|
|||
using IDIS.Model;
|
||||
using Newtonsoft.Json;
|
||||
|
||||
namespace IDIS.YL106.Model;
|
||||
|
||||
/// <summary>
|
||||
/// 工序基类
|
||||
/// </summary>
|
||||
public record Procedure_Base:IDIS_Model
|
||||
namespace IDIS.YL106.Model
|
||||
{
|
||||
/// <summary>
|
||||
/// 工序基类
|
||||
/// </summary>
|
||||
public record Procedure_Base:IDIS_Model
|
||||
{
|
||||
/// <summary>
|
||||
/// 工序名称
|
||||
/// </summary>
|
||||
|
@ -52,4 +52,5 @@ public record Procedure_Base:IDIS_Model
|
|||
[DisplayName("订单标识")]
|
||||
[JsonProperty("order_handle")]
|
||||
public string OderHandle { get; set; } = string.Empty;
|
||||
}
|
||||
}
|
|
@ -2,13 +2,13 @@ using System.ComponentModel;
|
|||
using IDIS.Model;
|
||||
using Newtonsoft.Json;
|
||||
|
||||
namespace IDIS.YL106.Model;
|
||||
|
||||
/// <summary>
|
||||
/// 出库工序
|
||||
/// </summary>
|
||||
public record Procedure_Transport:Procedure_Base
|
||||
namespace IDIS.YL106.Model
|
||||
{
|
||||
/// <summary>
|
||||
/// 出库工序
|
||||
/// </summary>
|
||||
public record Procedure_Transport:Procedure_Base
|
||||
{
|
||||
/// <summary>
|
||||
/// 指定容器
|
||||
/// </summary>
|
||||
|
@ -29,4 +29,5 @@ public record Procedure_Transport:Procedure_Base
|
|||
[DisplayName("目标位置")]
|
||||
[JsonProperty("target_destination")]
|
||||
public string TargetDestination { get; set; } = string.Empty;
|
||||
}
|
||||
}
|
|
@ -2,10 +2,10 @@ using IDIS.Model;
|
|||
using IDIS.Models;
|
||||
using Newtonsoft.Json;
|
||||
|
||||
namespace IDIS.YL106.Model;
|
||||
|
||||
public class Program
|
||||
namespace IDIS.YL106.Model
|
||||
{
|
||||
public class Program
|
||||
{
|
||||
public static void Main()
|
||||
{
|
||||
var list = new List<IDIS_Model>
|
||||
|
@ -19,7 +19,7 @@ public class Program
|
|||
};
|
||||
|
||||
var currentDirectory = Environment.CurrentDirectory;
|
||||
#if DEBUG
|
||||
#if DEBUG
|
||||
currentDirectory = new DirectoryInfo(currentDirectory).Parent!.Parent!.Parent?.FullName!;
|
||||
#endif
|
||||
currentDirectory = Path.Combine(currentDirectory, "Samples");
|
||||
|
@ -44,4 +44,5 @@ public class Program
|
|||
Console.WriteLine($"生成了{x.GetType().Name}的样本,模板保存于\n{templatePath},注册数据保存于\n{registerPath}");
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue