Class: Ecu::Festkennfeld

Inherits:
Kennfeld show all
Defined in:
lib/ecu/interfaces/dcm/festkennfeld.rb

Constant Summary

Constants inherited from Label

Label::BYTESIZE

Instance Attribute Summary

Attributes inherited from Kennfeld

#unit, #value, #xdim, #xunit, #xvalue, #ydim, #yunit, #yvalue

Attributes inherited from Label

#description, #function, #name

Class Method Summary collapse

Methods inherited from Kennfeld

#bytesize, #equality_properties, #initialize, #properties, #reinterpx, #reinterpy, #round_to, #to_dcm, #to_mfile, #to_s, #value_at

Methods inherited from Label

#<=>, #==, #===, #equality_properties, from_dcm, from_lab, #hash, #init_error, #match, #properties, #to_h, #to_lab, #type, #valuestats, #with

Constructor Details

This class inherits a constructor from Ecu::Kennfeld

Class Method Details

.dcm_headerObject



5
6
7
# File 'lib/ecu/interfaces/dcm/festkennfeld.rb', line 5

def self.dcm_header
  %r{^FESTKENNFELD\s+(?<name>[A-Za-z0-9\._]+)\s+(?<xdim>\d+)\s+(?<ydim>\d+)}
end