alielie
2026-03-02 12e606635c42ea20f4b7c2bdda5204237a4b4c96
PLCHelper/Entity/PLCTagData.cs
File was renamed from Plugin.CurrentSensorControl/Entity/PLCTagData.cs
@@ -1,18 +1,31 @@
using HMI.Core;
namespace Plugin.CurrentSensorControl.Entity
namespace PLCHelper.Entity
{
    public enum PLCTagType {
    public enum PLCTagType
    {
        BOOL,
        SHORT,
        USHORT,
        INT,
        FLOAT
    }
    public enum ConnectionType
    {
        MODBUS,
        PLC_S7,
        NXI_5010
    }
    public class PLCTagData
    {
        [ExcelColumn("名称")]
        public string Name { get; set; }
        [ExcelColumn("连接类型")]
        public ConnectionType ConnectionType { get; set; } = ConnectionType.PLC_S7;
        [ExcelColumn("地址")]
        public string Address { get; set; }
        [ExcelColumn("类型")]