资源简介
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框架整合篇
相关资源
- Flight_Control_Systems_-_practical_issues_in_d
- DevExpress控件之GridControl使用图文介绍
- rocketmq-externals-master.zip
- ANSI-VITA 46.6 Gigabit Ethernet Control Plane
- DIY_Face_recognition_system-master.zip
- s71200_motion_control
- Microsoft Chart Control
- MSP430 Microcontroller Basics
- 使用remastersys自制Ubuntu镜像
- AjaxControlToolKit Ajax扩展控件
- Mastering Perl for Bioinformatics.pdf
- Morden Control System的答案
- Programming 32-bit Microcontrollers in C Explo
- Control4 Composer 编程指南包2
- TencentLocationDemo-master
- Control4 Composer 编程指南包1
- 非光滑分析与控制(Nonsmooth Analysis
- quicktime-sdk-7.3-for-windows-master
- eclipse和studio双版本:SwipeMenuListView-
- sublime汉化包,packagecontrolchannel_v3.js
- robomaster底盘驱动程序f427)
- 将数据库中的数据表添加到ListContro
- Mastering Kubernetes 2nd edition.pdf
- LochMaster30绿色汉化版
- Active noise control primer主动噪声控制
- WiiCCD_Master_3.51_+_Wbfs_Master_2.16.rar
- Cooperative Control of Multi-Agent Systems A C
- remastersys_3.0.4-2_all.deb
- DDR and DDR2 SDRAM High-Performance Controller
-
Passivity ba
sed Control of Euler_Lagrange S
评论
共有 条评论