當前位置: 首頁>>代碼示例>>Python>>正文


Python PoolElementDevice.delete_device方法代碼示例

本文整理匯總了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)
開發者ID:cmft,項目名稱:sardana,代碼行數:7,代碼來源:TwoDExpChannel.py

示例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)
開發者ID:cmft,項目名稱:sardana,代碼行數:7,代碼來源:OneDExpChannel.py

示例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)
開發者ID:cmft,項目名稱:sardana,代碼行數:7,代碼來源:Motor.py

示例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)
開發者ID:cmft,項目名稱:sardana,代碼行數:7,代碼來源:IORegister.py

示例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)
開發者ID:rhomspuron,項目名稱:sardana,代碼行數:7,代碼來源:PseudoMotor.py

示例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)
開發者ID:cmft,項目名稱:sardana,代碼行數:7,代碼來源:ZeroDExpChannel.py

示例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)
開發者ID:rhomspuron,項目名稱:sardana,代碼行數:7,代碼來源:TriggerGate.py

示例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)
開發者ID:cmft,項目名稱:sardana,代碼行數:7,代碼來源:CTExpChannel.py


注:本文中的sardana.tango.pool.PoolDevice.PoolElementDevice.delete_device方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。