return _hardwareType;
}
public ProtocolInt31HexField fetchProtocolType() {
if (_protocolType == null) {
_protocolType = new ProtocolInt31HexField("protocolType", "协议类型", 2, 2, true, this) {
public String getValueAsString() {
if (getValue() == Ip4Packet.EthernetType_Ip4) {
return "IP地址";
}
return super.getValueAsString();