-
Mypicture
定义4个类,MyShape、MyLine、MyRectangle和MyOval,其中MyShape是其他三个类的父类。MyShape为抽象类,包括图形位置的四个坐标;一个无参的构造方法,将所有的坐标设置为0;一个带参的构造函数,将所有的坐标设置为相应值;每个坐标的设置和读取方法;abstract void draw(Graphics g)方法。MyLine类负责画直线,实现父类的draw方法;MyRectangle负责画矩形,实现父类的draw方法;MyOval负责画椭圆,实现父类的draw方法。编写一个应用程序,使用上面定义的类,随机选取位置和形状,绘制20个图形。(Defines four classes, MyShape, MyLine, MyRectangle and MyOval, which MyShape the other three parent class. MyShape is an abstract class, including graphics position four coordinates a no-argument constructor, all the coordinates are set to 0 a parameterized constructor, all the coordinates is set to the corresponding values each coordinate set and reading method abstract void draw (Graphics g) method. MyLine class is responsible for drawing straight lines, to achieve the draw method of the parent class MyRectangle responsible for drawing rectangles, to achieve the parent class draw method MyOval responsible painted oval, draw method to achieve the parent class. Write an application that uses the class defined above, randomly selected location and shape, draw 20 graphics.)
- 2021-04-14 09:08:55下载
- 积分:1
-
cypClockDemo
一个利用多线程写的显示时钟窗口的小程序.是我刚学JAVA时的一份心得!(use a multi-threaded write the clock showed a small window procedure. Yes, I am just learning a Java experience!)
- 2006-06-02 18:37:47下载
- 积分:1
-
EM
说明: 用Python写的EM算法 估计男女身高 来验证EM算法的准确性(Written in Python EM algorithm to estimate the height of men and women to verify the accuracy of the EM algorithm)
- 2016-05-17 09:35:13下载
- 积分:1
-
ECOLOGYTRIBE
生态部落专业粮情组态测控系统,给全世界的粮储工作带来了新的生机,新型的数字 化全方位粮情组态测控系统摒弃了传统的模拟方式,是粮食监测行业的一种创新革命的成 果。整套系统具有组网能力强,操作简单,安装简单、投资成本低、监测直观并且精度高, 能够实时实现视频、温度、湿度的监测、分析、显示、报警、控制、历史查询,报表打印等。
生态部落粮情组态测控系统是利用组态软件以及信息数字技术来实现粮食储藏过程中 对粮情变化的实时监测、对监测数据进行分析与控制、对异常粮情告警提示,提出处理建议 和自动控制等的系统。它可以为科学及安全储粮提供技术保证和科学依据。 粮情组态测控 硬件系统是通过电源电缆、通讯电缆、交换机、路由器将测控平台服务器、测控主机、测控 分机、测温电缆及湿度传感器及高清网络视频传感器等连结起来构成的。 生态部落粮情组 态测控软件系统按系统功能又大致可划分为:粮情监测、粮情分析与粮情控制三部分。(Ecological professional grain condition measurement and control system configuration tribe, grain storage to work around the world has brought new vitality, new digital full-grain situation measuring and controlling system configuration abandon the traditional analog mode, monitoring is an innovative food industry outcome of our revolution. The entire system with networking capability, simple operation, easy installation, low investment costs, monitoring and intuitive high precision, real-time video, temperature and humidity monitoring, analysis, display, alarm, control, historical inquiry, report printing.
Ecological tribal grain condition measurement and control system configuration and software configuration information using digital technology to achieve real-time monitoring of food during storage of the grain situation changes, the monitoring data analysis and control, alarm notification of abnormal grain situation, and recommending treatment automatic control system. It can prov)
- 2016-07-30 16:18:50下载
- 积分:1
-
Unidade_3_Fluxo_de_Potencia_New
Document describing the Power Flow, a matter of Power Systems Analysis.
- 2014-02-04 21:26:37下载
- 积分:1
-
IEC8705报文解析
说明: IEC 101、IEC 103、IEC 104协议报文解析工具(iec series message analysis)
- 2021-02-16 16:49:47下载
- 积分:1
-
12306_python
一、运行环境:
基于python2.7
二、原理:
图像识别基于tesseract
数据抓包使用httpwatch, IE,识别出所有的POST请求,获取各步骤中数据,分析页面里token等
三、用法:
修改conf_example.py里的买票信息, 然后运行
在不繁重情况下,可以验证提交买票请求,买完后自己去 未完成订单 页面付款
春运的压力环境下,有bug,待完善, python初学乍用,很多地方不 pythonic
四、Todo:
1. 压力下的抢票测试, fixbug
2. 寻找最优server ip
3. httplib 的接口需要封装,包括重连机制
4. 优化不必要的请求
(Author frankiezhu@foxmail.com
DATE: 20140108
)
- 2015-05-01 10:02:08下载
- 积分:1
-
WENJ
说明: 基于RTKLIB 和 vs2010 编写的GPSBD定位程序实现单点定位PPP定位差分定位等输入文件 rinex文件RTCM文件(GPSBD positioning program based on RTKLIB and VS2010 realizes single point positioning, PPP positioning, differential positioning and other input files RINEX file RTCM file)
- 2019-02-27 20:36:54下载
- 积分:1
-
ysReport
设计器是一个简单快速的报表开发工具,轻松实现报表显示、过滤、打印、导出等一体化集成功能。提供VB.net、C#丰富使用例子,报表如何调用一目了然。(Report design tool)
- 2014-10-19 16:07:08下载
- 积分:1
-
SourceCodeAplikasiChatLengkap
this is a source code of chatting application in java programming. It have a simple variable. hope can help you to make a simple application.good for newbe..
- 2013-03-05 20:33:31下载
- 积分:1