本文整理汇总了Python中AttrHelper._getDictKey方法的典型用法代码示例。如果您正苦于以下问题:Python AttrHelper._getDictKey方法的具体用法?Python AttrHelper._getDictKey怎么用?Python AttrHelper._getDictKey使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类AttrHelper
的用法示例。
在下文中一共展示了AttrHelper._getDictKey方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。
示例1: read_counter
# 需要导入模块: import AttrHelper [as 别名]
# 或者: from AttrHelper import _getDictKey [as 别名]
def read_counter(self, attr):
counter = _MerlinCamera.getEnableCounters()
attr.set_value(AttrHelper._getDictKey(self.__Counter,counter))
示例2: read_depth
# 需要导入模块: import AttrHelper [as 别名]
# 或者: from AttrHelper import _getDictKey [as 别名]
def read_depth(self, attr):
depth = _MerlinCamera.getCounterDepth()
attr.set_value(AttrHelper._getDictKey(self.__Depth,depth))
示例3: read_nbits
# 需要导入模块: import AttrHelper [as 别名]
# 或者: from AttrHelper import _getDictKey [as 别名]
def read_nbits(self, attr):
nbits = _Mythen3Camera.getNbits()
attr.set_value(AttrHelper._getDictKey(self.__Nbits, nbits))
示例4: read_continuousRW
# 需要导入模块: import AttrHelper [as 别名]
# 或者: from AttrHelper import _getDictKey [as 别名]
def read_continuousRW(self, attr):
mode = _MerlinCamera.getContinuousRW()
attr.set_value(AttrHelper._getDictKey(self.__Switch,mode))
示例5: read_triggerUseDelay
# 需要导入模块: import AttrHelper [as 别名]
# 或者: from AttrHelper import _getDictKey [as 别名]
def read_triggerUseDelay(self, attr):
mode = _MerlinCamera.getTriggerUseDelay()
attr.set_value(AttrHelper._getDictKey(self.__Switch,mode))
示例6: read_output2_id
# 需要导入模块: import AttrHelper [as 别名]
# 或者: from AttrHelper import _getDictKey [as 别名]
def read_output2_id(self, attr):
id = _RayonixHsInterface.getOutputSignalID(RayonixHsAcq.CHANNEL_2)
val = AttrHelper._getDictKey(self.__OutputSignalID, id)
attr.set_value(val)
示例7: read_triggered
# 需要导入模块: import AttrHelper [as 别名]
# 或者: from AttrHelper import _getDictKey [as 别名]
def read_triggered(self, attr):
mode = _Mythen3Camera.getTriggered()
attr.set_value(AttrHelper._getDictKey(self.__Switch, mode))
示例8: read_triggerOutTTL
# 需要导入模块: import AttrHelper [as 别名]
# 或者: from AttrHelper import _getDictKey [as 别名]
def read_triggerOutTTL(self, attr):
trigout = _MerlinCamera.getTriggerOutTTL()
attr.set_value(AttrHelper._getDictKey(self.__TriggerOutput,trigout))
示例9: read_continuousTrigger
# 需要导入模块: import AttrHelper [as 别名]
# 或者: from AttrHelper import _getDictKey [as 别名]
def read_continuousTrigger(self, attr):
mode = _Mythen3Camera.getContinuousTrigger()
attr.set_value(AttrHelper._getDictKey(self.__Switch, mode))
示例10: read_gateMode
# 需要导入模块: import AttrHelper [as 别名]
# 或者: from AttrHelper import _getDictKey [as 别名]
def read_gateMode(self, attr):
mode = _Mythen3Camera.getGateMode()
attr.set_value(AttrHelper._getDictKey(self.__Switch, mode))
示例11: read_rateCorrection
# 需要导入模块: import AttrHelper [as 别名]
# 或者: from AttrHelper import _getDictKey [as 别名]
def read_rateCorrection(self, attr):
mode = _Mythen3Camera.getRateCorrection()
attr.set_value(AttrHelper._getDictKey(self.__Switch, mode))
示例12: read_badChannelInterpolation
# 需要导入模块: import AttrHelper [as 别名]
# 或者: from AttrHelper import _getDictKey [as 别名]
def read_badChannelInterpolation(self, attr):
mode = _Mythen3Camera.getBadChannelInterpolation()
attr.set_value(AttrHelper._getDictKey(self.__Switch, mode))
示例13: read_hwStatus
# 需要导入模块: import AttrHelper [as 别名]
# 或者: from AttrHelper import _getDictKey [as 别名]
def read_hwStatus(self, attr):
status = _Mythen3Camera.getHwStatus()
attr.set_value(AttrHelper._getDictKey(self.__Status, status))
示例14: read_gain
# 需要导入模块: import AttrHelper [as 别名]
# 或者: from AttrHelper import _getDictKey [as 别名]
def read_gain(self, attr):
gain = _MerlinCamera.getGain()
attr.set_value(AttrHelper._getDictKey(self.__GainSetting,gain))
示例15: read_outputSignalPolarity
# 需要导入模块: import AttrHelper [as 别名]
# 或者: from AttrHelper import _getDictKey [as 别名]
def read_outputSignalPolarity(self, attr):
mode = _Mythen3Camera.getOutputSignalPolarity()
attr.set_value(AttrHelper._getDictKey(self.__Polarity, mode))