-
哲学家进餐问题,描述计算机系统的同步与互斥问题。
哲学家进餐问题,描述计算机系统的同步与互斥问题。-dining philosopher, describes the computer system synchronization and mutual exclusion problems.
- 2023-06-26 21:55:03下载
- 积分:1
-
调用百度地图API的JS示例
简单的一个轨迹回放例子,用的是百度地图的javascript api关键点:轨迹坐标的数组+settimeout定时重复描点连线
- 2022-02-27 01:11:12下载
- 积分:1
-
一套很酷的控件,其中有酷菜单控件,窗体控件,标签文本控件,支持透明通道的图片控件等,还有带图标的文件列表控件等!...
一套很酷的控件,其中有酷菜单控件,窗体控件,标签文本控件,支持透明通道的图片控件等,还有带图标的文件列表控件等!-A cool control, including cool menu controls, form controls, label text control, support for transparent access of picture controls, as well as a list of files with icons and other controls!
- 2022-02-15 19:36:36下载
- 积分:1
-
使用Qt处理图片资源
Use Qt in image development.
QPixmap largepixmap;
QPixmap smallpixmap;
QPixmap maskpixmap;
QPixmap zoompixmap;
QPoint offset(0,0);
QPoint dragpos(150,150);
QPoint set(90,50);
//加载图片:
largepixmap.load("ImagesMainGui.png");
smallpixmap = largepixmap.scaled(largepixmap.size()/1.2);
maskpixmap.load("ImagesMainGui.png");
//绘制底层图片(非放大镜区域图案):
QPainter painter(this);
painter.drawPixmap(offset,smallpixmap);
painter.end();
//计算放大区域圆形的半径及所占矩形面积
int dim = qMin(width(), height());
int magnifierSize = dim * 5 / 6;
int radius = magnifierSize / 2;
int ring = radius - 15;
QSize box = QSize(magnifierSize, magnifierSize);
- 2022-02-09 22:59:08下载
- 积分:1
-
一个比较漂亮的按钮控件类,没有用到图片,所以效率比较高...
一个比较漂亮的按钮控件类,没有用到图片,所以效率比较高-A more beautiful button-type controls, did not use pictures, so more efficient
- 2022-06-17 03:06:15下载
- 积分:1
-
微分进化
微分进化与自适应的战略选择。请参阅: 微分进化策略适应自适应参数的选择
- 2022-03-23 06:19:00下载
- 积分:1
-
基于Labview的CANopen 调试器
资源描述
运动控制系统实验平台即要求高速的信号处理能力,强大的组网能力,又要求有可视化的控制视图。为了将LabVIEW引入到现有运动控制实验教学中,改造的平台采用LabVIEW开发平台设计上位机的人机交互界面以取代传统实验平台的触控屏,下位机的通信程序以及工艺程序则通过Twidosoft编程软件实现。PC机与PLC的通信基于Modbus串行总线;PLC与伺服驱动器的通信基于CANopen总线,整个运动控制系统实验平台为"PC+PLC+伺服驱动器"的结构模式。LabVIEW在运动控制系统平台的引入,可以方便地实现数据采集和监视控制功能,直观且逼真地显示伺服电机的控制,较好地提高了原有实验平台的功能扩展性。 更多还原
- 2022-09-16 15:35:03下载
- 积分:1
-
C# wpf 数据网格过滤器
This Common component support of customize of WPF datagrid filter data. It easily using and founded the new project is more effeciency .
- 2022-05-21 06:39:40下载
- 积分:1
-
The examples are given in detail in a single document the procedures to achieve...
本实例给出了详细的在单文档程序中实现多视图的切换。-The examples are given in detail in a single document the procedures to achieve multi-view of the switch.
- 2022-03-24 19:37:08下载
- 积分:1
-
self
自编的一些实用8279显示程序及DAC0832波形产生程序,低频相位测量仪设计及相关程序-self-programming pratical programs which includes:
- 8279 displaying
- DAC0832 wave generating
- Low-frequency-phase meter designing
- others related
- 2022-01-21 06:20:08下载
- 积分:1