本文整理汇总了Python中sardana.tango.pool.PoolDevice.PoolElementDevice.delete_device方法的典型用法代码示例。如果您正苦于以下问题:Python PoolElementDevice.delete_device方法的具体用法?Python PoolElementDevice.delete_device怎么用?Python PoolElementDevice.delete_device使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类sardana.tango.pool.PoolDevice.PoolElementDevice
的用法示例。
在下文中一共展示了PoolElementDevice.delete_device方法的8个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。
示例1: delete_device
# 需要导入模块: from sardana.tango.pool.PoolDevice import PoolElementDevice [as 别名]
# 或者: from sardana.tango.pool.PoolDevice.PoolElementDevice import delete_device [as 别名]
def delete_device(self):
PoolElementDevice.delete_device(self)
twod = self.twod
if twod is not None:
twod.remove_listener(self.on_twod_changed)
示例2: delete_device
# 需要导入模块: from sardana.tango.pool.PoolDevice import PoolElementDevice [as 别名]
# 或者: from sardana.tango.pool.PoolDevice.PoolElementDevice import delete_device [as 别名]
def delete_device(self):
PoolElementDevice.delete_device(self)
oned = self.oned
if oned is not None:
oned.remove_listener(self.on_oned_changed)
示例3: delete_device
# 需要导入模块: from sardana.tango.pool.PoolDevice import PoolElementDevice [as 别名]
# 或者: from sardana.tango.pool.PoolDevice.PoolElementDevice import delete_device [as 别名]
def delete_device(self):
PoolElementDevice.delete_device(self)
motor = self.motor
if motor is not None:
motor.remove_listener(self.on_motor_changed)
示例4: delete_device
# 需要导入模块: from sardana.tango.pool.PoolDevice import PoolElementDevice [as 别名]
# 或者: from sardana.tango.pool.PoolDevice.PoolElementDevice import delete_device [as 别名]
def delete_device(self):
PoolElementDevice.delete_device(self)
ior = self.ior
if ior is not None:
ior.remove_listener(self.on_ior_changed)
示例5: delete_device
# 需要导入模块: from sardana.tango.pool.PoolDevice import PoolElementDevice [as 别名]
# 或者: from sardana.tango.pool.PoolDevice.PoolElementDevice import delete_device [as 别名]
def delete_device(self):
PoolElementDevice.delete_device(self)
pseudo_motor = self.pseudo_motor
if pseudo_motor is not None:
pseudo_motor.remove_listener(self.on_pseudo_motor_changed)
示例6: delete_device
# 需要导入模块: from sardana.tango.pool.PoolDevice import PoolElementDevice [as 别名]
# 或者: from sardana.tango.pool.PoolDevice.PoolElementDevice import delete_device [as 别名]
def delete_device(self):
PoolElementDevice.delete_device(self)
zerod = self.zerod
if zerod is not None:
zerod.remove_listener(self.on_zerod_changed)
示例7: delete_device
# 需要导入模块: from sardana.tango.pool.PoolDevice import PoolElementDevice [as 别名]
# 或者: from sardana.tango.pool.PoolDevice.PoolElementDevice import delete_device [as 别名]
def delete_device(self):
PoolElementDevice.delete_device(self)
tg = self.tg
if tg is not None:
tg.remove_listener(self.on_tg_changed)
示例8: delete_device
# 需要导入模块: from sardana.tango.pool.PoolDevice import PoolElementDevice [as 别名]
# 或者: from sardana.tango.pool.PoolDevice.PoolElementDevice import delete_device [as 别名]
def delete_device(self):
PoolElementDevice.delete_device(self)
ct = self.ct
if ct is not None:
ct.remove_listener(self.on_ct_changed)