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