1from Device import PioDevice 2 3simobj BadDevice(PioDevice): 4 type = 'BadDevice' 5 devicename = Param.String("Name of device to error on") 6