C#的枚举变量
public enum PlcMemory
{
CIO = 1,
WR = 2,
DR = 3,
ER = 4,
TIM = 5,
CNT = 6,
HR = 7
}
用pythonnet调用时
PLC.PlcMemory.CIO 就是里面枚举的值
C#的枚举变量
public enum PlcMemory
{
CIO = 1,
WR = 2,
DR = 3,
ER = 4,
TIM = 5,
CNT = 6,
HR = 7
}
用pythonnet调用时
PLC.PlcMemory.CIO 就是里面枚举的值