资源简介
Master Control Panel NRF51822 nordic51422
PC端开发软件
电脑直接DFU(sdk9.0或以上)
方便开发
代码片段和文件信息
# Copyright 2007 Google Inc. All Rights Reserved.
# Licensed to PSF under a Contributor Agreement.
“““Abstract base Classes (ABCs) according to PEP 3119.“““
import types
from _weakrefset import WeakSet
# Instance of old-style class
class _C: pass
_InstanceType = type(_C())
def abstractmethod(funcobj):
“““A decorator indicating abstract methods.
Requires that the metaclass is ABCmeta or derived from it. A
class that has a metaclass derived from ABCmeta cannot be
instantiated unless all of its abstract methods are overridden.
The abstract methods can be called using any of the normal
‘super‘ call mechanisms.
Usage:
class C:
__metaclass__ = ABCmeta
@abstractmethod
def my_abstract_method(self ...):
...
“““
funcobj.__isabstractmethod__ = True
return funcobj
class abstractproperty(property):
“““A decorator indicating abstract properties.
Requires that the metaclass is ABCmeta or derived from it. A
class that has a metaclass derived from ABCmeta cannot be
instantiated unless all of its abstract properties are overridden.
The abstract properties can be called using any of the normal
‘super‘ call mechanisms.
Usage:
class C:
__metaclass__ = ABCmeta
@abstractproperty
def my_abstract_property(self):
...
This defines a read-only property; you can also define a read-write
abstract property using the ‘long‘ form of property declaration:
class C:
__metaclass__ = ABCmeta
def getx(self): ...
def setx(self value): ...
x = abstractproperty(getx setx)
“““
__isabstractmethod__ = True
class ABCmeta(type):
“““metaclass for defining Abstract base Classes (ABCs).
Use this metaclass to create an ABC. An ABC can be subclassed
directly and then acts as a mix-in class. You can also register
unrelated concrete classes (even built-in classes) and unrelated
ABCs as ‘virtual subclasses‘ -- these and their descendants will
be considered subclasses of the registering ABC by the built-in
issubclass() function but the registering ABC won‘t show up in
their MRO (Method Resolution Order) nor will method
implementations defined by the registering ABC be callable (not
even via super()).
“““
# A global counter that is incremented each time a class is
# registered as a virtual subclass of anything. It forces the
# negative cache to be cleared before its next use.
_abc_invalidation_counter = 0
def __new__(mcls name bases namespace):
cls = super(ABCmeta mcls).__new__(mcls name bases namespace)
# Compute set of abstract method names
abstracts = set(name
for name value in namespace.items()
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 2865 2015-08-21 10:23 Master Control Panel\3.10.0.14\default_server_setup.bin
文件 1607530 2015-08-21 10:24 Master Control Panel\3.10.0.14\doc\MasterControlPanelHelp.chm
文件 48418 2015-08-21 10:23 Master Control Panel\3.10.0.14\firmware\nRF2739\mdhspi.0.9.15536.ehex
文件 128375 2015-08-21 10:23 Master Control Panel\3.10.0.14\firmware\pca10000\MEFW_nRF51822_0.10.0_firmware_1M.hex
文件 147500 2015-08-21 10:23 Master Control Panel\3.10.0.14\firmware\pca10000\MEFW_nrf51822_0.11.0_firmware_1M.hex
文件 128256 2015-08-21 10:23 Master Control Panel\3.10.0.14\firmware\pca10000\MEFW_nRF51822_0.9.0_firmware_115K2.hex
文件 45056 2015-08-21 10:24 Master Control Panel\3.10.0.14\FlashProg.dll
文件 75264 2015-08-21 10:24 Master Control Panel\3.10.0.14\hci_coder_net.dll
文件 1821184 2015-08-21 10:23 Master Control Panel\3.10.0.14\IronPython.dll
文件 747008 2015-08-21 10:23 Master Control Panel\3.10.0.14\IronPython.Modules.dll
文件 7330 2015-08-21 10:23 Master Control Panel\3.10.0.14\lib\abc.py
文件 1770 2015-08-21 10:23 Master Control Panel\3.10.0.14\lib\atexit.py
文件 2687 2015-08-21 10:23 Master Control Panel\3.10.0.14\lib\bisect.py
文件 3408 2015-08-21 10:23 Master Control Panel\3.10.0.14\lib\buffer_test_main.py
文件 36364 2015-08-21 10:23 Master Control Panel\3.10.0.14\lib\codecs.py
文件 26030 2015-08-21 10:23 Master Control Panel\3.10.0.14\lib\collections.py
文件 11952 2015-08-21 10:23 Master Control Panel\3.10.0.14\lib\copy.py
文件 4769 2015-08-21 10:23 Master Control Panel\3.10.0.14\lib\dfu\dfu_master.py
文件 5375 2015-08-21 10:23 Master Control Panel\3.10.0.14\lib\dfu\dfu_transport_me.py
文件 469 2015-08-21 10:23 Master Control Panel\3.10.0.14\lib\dfu\log_handler.py
文件 2604 2015-08-21 10:23 Master Control Panel\3.10.0.14\lib\dfu\main.py
文件 11389 2015-08-21 10:23 Master Control Panel\3.10.0.14\lib\dfu\master_emulator.py
文件 0 2015-08-21 10:23 Master Control Panel\3.10.0.14\lib\dfu\__init__.py
文件 4563 2015-08-21 10:23 Master Control Panel\3.10.0.14\lib\dummy_thread.py
文件 2882 2015-08-21 10:23 Master Control Panel\3.10.0.14\lib\dummy_threading.py
文件 15375 2015-08-21 10:23 Master Control Panel\3.10.0.14\lib\encodings\aliases.py
文件 2388 2015-08-21 10:23 Master Control Panel\3.10.0.14\lib\encodings\hex_codec.py
文件 5855 2015-08-21 10:23 Master Control Panel\3.10.0.14\lib\encodings\__init__.py
文件 727 2015-08-21 10:23 Master Control Panel\3.10.0.14\lib\enum.py
文件 3355 2015-08-21 10:23 Master Control Panel\3.10.0.14\lib\fnmatch.py
............此处省略157个文件信息
- 上一篇:MTK6589专用刷机工具汉化版救砖必备
- 下一篇:图书管理ssm框架整合篇
相关资源
- Power Electronic Converters Modeling and Contr
- BCG帮助手册,完整版_修正
- SPI Master 的Verilog源代码
- ProfControl系统对接手册
- Simulation of Active Heave Compensation System
- 基于Freemarker模板的代码生成器后台代
- USB-Serial-Controller_虚拟串口.rar
- nginx-rtmp-win32-master.rar
- 影驰魔盘plus中文版 v2.0.0.7 官方最新版
- The Existence of Optimal Control for Fully Cou
- SublimeREPL-master.zip
- mstar-bin-tool-master.rar
- in-cell panel_In-Cell触摸屏原理
- AlphaControls14.23_20190502_Full_Source.rar
- mastercam9.1法兰克后处理
- Optimal control of the nonlinear one dimension
- s7epasrvx.exe CP2102_USB_to_UART_Bridge_Contro
- Size-Controlled Synthesis of LaF3:Eu3+ Nanopla
- Facile hydrothermal synthesis of Tb2(MoO4)
- robomaster自动识别开源
- superCleanMaster仿360清理大师
- 失控_Out of Control_英文原版-KK
- 翻模大师机电
- baxter机器人抓取杯子Baxter_pick_cup_gam
- ComsenzDiscuz-DiscuzX-master最新版本X3.4
- wkeyuan-DWSurvey-master.zip
- 航迹大师 waypoint master 2.3
- predictivecontrol.zip
- QGroundControl代码分析
- Field-of-View-master
川公网安备 51152502000135号
评论
共有 条评论