<s> from ztag . annotation import * <EOL> class PoLabsDeviceAnnotation ( Annotation ) : <EOL> protocol = protocols . MODBUS <EOL> subprotocol = protocols . MODBUS . DEVICE_ID <EOL> port = None <EOL> def process ( self , obj , meta ) : <EOL> vendor = obj [ "<STR_LIT>" ] [ "<STR_LIT>" ] [ "<STR_LIT>" ] . lower ( ) <EOL> if '<STR_LIT>' in vendor : <EOL> meta . global_metadata . manufacturer = Manufacturer . POLABS </s>
