本文整理匯總了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)