-
rover
该代码实现了基于arduino平台的月球车原理样机,功能包括前进后退左转右转以及摄像头太阳能电池板的打开闭合等(This code implements the lunar rover prototype based on arduino platform features include forward and back as well as the camera Zuozhuanyouzhuan solar panels opened and closed, etc.)
- 2016-02-02 15:09:23下载
- 积分:1
-
解压缩文件示例(rar、zip、7zip、Gzip、tar...等)
本程序是基于 sharpcompress-master 设计的演示程序。开原地址:https://github.com/adamhathcock/sharpcompress。1. 程序主要展示了压缩文件的解压缩,支持的文件类型有:rar、zip、7zip、Gzip、tar......等压缩格式,展示了密码解压、分卷解压、解压进度等功能。2. 不支持“带密码的分卷压缩文件”的解压;无密码分卷压缩、单个带密码文件正常解压。3. 此程序在设计中,对组件源代码进行了修改,与原组件代码对照查看。4、sharpcompress-master组件功能繁多,比如,文件压缩为图片、压缩文件内文件添加删除、更名等等,对照现有的压缩软件,功能均具备,可在代码中查看使用。本示例只是展示了解压缩功能。此程序为识别全部压缩格式,未引用DLL,全部为cs文件,如有错误,自行对照修正。private void Uncompress(string archiveFile, string destinationPath, string password = null) { var archive = ArchiveFactory.Open(archiveFile, new ReaderOptions() { Password = password, LeaveStreamOpen = true }); volumes = archive.Entries.Count(); archive.EntryExtractionBegin = archive_EntryExtractionBegin; archive.FilePartExtractionBegin = archive_FilePartExtractionBegin; archive.CompressedBytesRead = archive_CompressedBytesRead; Task.Run(() => { long order = 0; foreach (var entry in archive.Entries) { if (!entry.IsDirectory) { entry.WriteToDirectory(destinationPath, new ExtractionOptions() { ExtractFullPath = true, Overwrite = true, }); } order ; this.CrossThreadCalls(() => { if (volumes > 1) { progress[0].Value = CreatePercentage(order, volumes); } }); } MessageBox.Show("解压缩任务完成 !"); }); } private void archive_EntryExtractionBegin(object sender, ArchiveExtractionEventArgs e) { entryTotal = e.Item.Size; info_builde1 = "提取文件: " e.Item.Key ";"; } private void archive_FilePartExtractionBegin(object sender, FilePartExtractionBeginEventArgs e) { partTotal = e.Size; info_builde2 = "分卷:" e.Name ";"; } private void archive_CompressedBytesRead(object sender, CompressedBytesReadEventArgs e) { string percentage = entryTotal.HasValue ? CreatePercentage(e.CompressedBytesRead, entryTotal.Value).ToString() : "Unknown"; info_builde = info_builde1 info_builde2 "字节:" e.CompressedBytesRead ";百分比:" percentage "%"; this.CrossThreadCalls(() => { compress_Info.Text = info_builde; progress[1].Value = int.Parse(percentage) > 100 || int.Parse(percentage) < 0 ? 100 : int.Parse(percentage); if (volumes < 2) progress[0].Value = progress[1].Value; Application.DoEvents(); }); } private int CreatePercentage(long n, long d) { return (int)(((double)n / (double)d) * 100); }
- 2019-07-21下载
- 积分:1
-
SPP
系统实现了笛卡尔坐标、大地坐标和站心坐标相互系转转换,以及单点定位、卫星历元信息查看功能。(Cartesian coordinate system implements, geodetic coordinates and topocentric coordinate mutual transfer system conversion, as well as single-point positioning, satellite epoch View feature.)
- 2013-11-24 21:37:58下载
- 积分:1
-
oqlv__syows__high
Reprint only shows that the program is very high
- 2019-04-17 11:40:36下载
- 积分:1
-
surce_randon
Randon data from program
- 2019-05-12 01:42:24下载
- 积分:1
-
PIT
基于IAR开发环境,野火PIT 配置文件,包含C和H文件(Based on IAR development environment, wildfire PIT configuration file, including C and H files)
- 2020-06-16 21:00:02下载
- 积分:1
-
Visual C++网络通信协议分析
Visual C++网络通信协议分析,使你对网络编程有一个全新的掌握(Analysis of network communication protocal in vc, you can gain a completely new understanding of network programming)
- 2005-06-24 07:26:00下载
- 积分:1
-
DomainSearchII
C段反查,调用的别人网站接口,改进中..(Section C reverse lookup, calling others site interface improvements ..)
- 2013-09-27 12:04:30下载
- 积分:1
-
lyvd_point
B curve left key point, right end vevr good(Curve B left key point, right end vevr good)
- 2017-05-09 15:10:32下载
- 积分:1
-
按键自身显示
说明: 按开发板上的“S7”键复位,然后再按下S1—S4,没按下一次,对应的数码管的值会增加一。(Press "S7" on the development board to reset, and then press S1 -- S4. If you do not press again, the value of the corresponding digital tube will increase by one.)
- 2020-06-20 10:20:02下载
- 积分:1