C# winform 结构 枚举 问题! using System; using System.Collections.Generic; using System.Text;
namespace RpmsEditor { public class clsMsg { clsMsg() { }
////////////////////////////////////////////////////////////////////////// //走刀位置报文 内容格式 public struct ContEngravePosition { public enum egState :byte { normalState = 0x01, interruptState = 0x02, exceptionalState = 0x03, errorState = 0x04 } public short egX; public short egY; public short egZ; } }