|
@@ -38,17 +38,17 @@ namespace YSAI.Siemens
|
|
|
/// <summary>
|
|
/// <summary>
|
|
|
/// CPU类型
|
|
/// CPU类型
|
|
|
/// </summary>
|
|
/// </summary>
|
|
|
- [Description("Cpu类型")]
|
|
|
|
|
|
|
+ [Description("CPU类型")]
|
|
|
[JsonConverter(typeof(StringEnumConverter))]
|
|
[JsonConverter(typeof(StringEnumConverter))]
|
|
|
[Display(true, true, true, Core.data.ParamStructure.dataCate.select)]
|
|
[Display(true, true, true, Core.data.ParamStructure.dataCate.select)]
|
|
|
- public CpuType S7CpuType { get; set; }
|
|
|
|
|
|
|
+ public CpuType CType { get; set; }
|
|
|
|
|
|
|
|
/// <summary>
|
|
/// <summary>
|
|
|
/// PLC的机架,
|
|
/// PLC的机架,
|
|
|
/// 通常为0,
|
|
/// 通常为0,
|
|
|
/// 但检查Step7或TIA门户的硬件配置
|
|
/// 但检查Step7或TIA门户的硬件配置
|
|
|
/// </summary>
|
|
/// </summary>
|
|
|
- [Description("Plc机架")]
|
|
|
|
|
|
|
+ [Description("机架")]
|
|
|
[Display(true, true, true, Core.data.ParamStructure.dataCate.unmber)]
|
|
[Display(true, true, true, Core.data.ParamStructure.dataCate.unmber)]
|
|
|
public int Rack { get; set; } = 0;
|
|
public int Rack { get; set; } = 0;
|
|
|
|
|
|
|
@@ -57,7 +57,7 @@ namespace YSAI.Siemens
|
|
|
/// S7-300/S7-400为2,
|
|
/// S7-300/S7-400为2,
|
|
|
/// S7-1200/S7-1500为0
|
|
/// S7-1200/S7-1500为0
|
|
|
/// </summary>
|
|
/// </summary>
|
|
|
- [Description("Cpu插槽")]
|
|
|
|
|
|
|
+ [Description("插槽")]
|
|
|
[Display(true, true, true, Core.data.ParamStructure.dataCate.unmber)]
|
|
[Display(true, true, true, Core.data.ParamStructure.dataCate.unmber)]
|
|
|
public int Slot { get; set; } = 0;
|
|
public int Slot { get; set; } = 0;
|
|
|
}
|
|
}
|