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