- 浏览: 198840 次
- 性别:
- 来自: 成都
-
文章分类
最新评论
-
se34218:
我想问一下,为什么插入CLOB字段的时候要先插入空CLOB,e ...
利用JDBC操作Oracle CLOB和BLOB类型数据 -
tinger1:
狂赞楼主!
GWT通信机制初探 -
skygege20:
2015-7-24 16:09:14 org.apache.c ...
Java中禁止的包名(Prohibited package name) -
skygege20:
那怎么解决这种问题呢?
Java中禁止的包名(Prohibited package name) -
javashiting:
看看 看看 看看 看看
Struts+Hibernate/JDBC+ExtJS实现人力资源管理系统(一)
压缩需求:压缩文件夹下所有具有统一文件名规范的普通文件,同时添加文件名与压缩包相同的MANIFEST文件,包含所有被压缩文件的文件名及大小列表。
Java文件压缩涉及到的类均在java.uti.zip包下:
代码如下:
解压缩需求:解压缩一个zip文件,读取MANIFEST文件,一一验证MANIFEST文件中所列的文件名和大小,只有当所有文件和大小均匹配时解压zip包至特定目录。
Java文件解压缩需要用到的类包括ZipFile(用文件名实例化一个压缩包)和ZipEntry,ZipEntry实例被从ZipFile实例获取。 利用ZipFile的getOutputStream()(zipEntry实例作为参数)可以获取对zipEntry的输入流,由此读入数据并写出到文件系统。
代码如下:
由于需求特定,代码实现有所局限。
看到Snowolf对带有压缩算法的压缩/解压缩的研究,在实际应用中需要面对不同的问题和场景,如文件读写同步/目录压缩及解压缩/中文编码等。故本文章也会适时更新。
Java文件压缩涉及到的类均在java.uti.zip包下:
- ZipOutputStream: Zip包的输出流,利用putNextEntry()向包内添加一个文件。
- ZipEntry: 将被压缩到包内的文件实例,在文件名后添加文件分隔符可以压缩目录。
代码如下:
public class FileZipper { private static String INPUT_FPATH = "C:/temp/fileZipper/DropZone/Input_Min"; private static String OUTPUT_ZIP_PATH = "C:/temp/fileZipper/DropZone/Input_Zip"; private static String OUTPUT_ZIP_TSPATH = "/SRE/apps/ican505/sandbox/jerry/filezipper/Output_TS"; private static String ARCHIEVE_ZONE = "C:/temp/fileZipper/ArchiveZone"; private static String INPUT_DELIM = ":"; private static String ZIP_FPATTERN = "I2001_GLB"; private static int AVG_FILENAME_LEN = 45; // Default to length of each entry in MANIFEST private static int BUF_SIZE = 1024; private static int STD_ZIP_ENTRIES = 20; public String zipFilesByJava(String strZipFilePattern, String strFilePath, String strOutputFileList, String strErrorZonePath) { System.out.println("***** Inside zipFilesByJava method *****"); System.out.println("***** Source Location of files: " + strFilePath + ", Zip File Pattern: " + strZipFilePattern + " *****"); String strZipFName = ""; String strEntryFName = ""; String strManifestFName = ""; SimpleDateFormat dateFormatter = new SimpleDateFormat("yyyyMMddHHmmssSS"); StringTokenizer strFileList = new StringTokenizer(strOutputFileList, "|"); if (strFileList == null || strFileList.countTokens() == 0) { System.out.println("[ERROR] Input file list is NULL or EMPTY!"); return null; } FileInputStream fin = null; ZipOutputStream zos = null; ZipEntry zipEntry = null; StringBuffer sbZippedEntryList = null; if (STD_ZIP_ENTRIES <= 0) { System.out.println("[WARN] The property STD_ZIP_ENTRIES can NOT be negative or zero! Reset to 100"); STD_ZIP_ENTRIES = 100; } if (BUF_SIZE <= 0) { System.out.println("[WARN] The property BUF_SIZE can NOT be negative or zero! Reset to 1024"); BUF_SIZE = 1024; } byte[] bInputBuf = new byte[BUF_SIZE]; int iTotalFiles = strFileList.countTokens(); int iTotalZips = iTotalFiles / STD_ZIP_ENTRIES == 0 ? 1 : iTotalFiles / STD_ZIP_ENTRIES; int iEntryListLen = (iTotalZips == 1) ? AVG_FILENAME_LEN : STD_ZIP_ENTRIES * AVG_FILENAME_LEN; int AVG_FILENAME_LEN = 45; // Length of entry in MANIFEST which contains standard filename and file size. // i.e, I1001_GWM_7360_MAN_20100426000000.txt|1111 StringBuffer sbZipFNameList = new StringBuffer(iTotalZips); String strTS = dateFormatter.format(new Date()); try { System.out.println("[INFO] Current Time in Millis: " + System.currentTimeMillis()); for (int iCntZip = 0; iCntZip < iTotalZips; iCntZip++) { if (iTotalFiles == 1) { strZipFName = strOutputFileList; strZipFName = OUTPUT_ZIP_PATH + File.separatorChar + strZipFName.replaceAll(".txt$", ".zip"); } else { strZipFName = OUTPUT_ZIP_PATH + File.separatorChar + strZipFilePattern + "_" + strTS + ".zip"; } zos = new ZipOutputStream(new CheckedOutputStream(new FileOutputStream(strZipFName), new CRC32())); if (zos == null) { System.out.println("[ERROR] ZIPOutputStream for output zip file is NULL!"); return null; } if (iCntZip != 0 && iCntZip == iTotalZips - 1) iEntryListLen = STD_ZIP_ENTRIES * 2 * AVG_FILENAME_LEN; sbZippedEntryList = new StringBuffer(iEntryListLen); int iCntEntry = 0; int iReadSize = 0; int iFileSize = 0; while ((iCntZip != iTotalZips - 1 && iCntEntry < STD_ZIP_ENTRIES) || (iCntZip == iTotalZips - 1 && iCntEntry < 2 * STD_ZIP_ENTRIES) && strFileList.hasMoreTokens()) { strEntryFName = strFileList.nextToken(); if (!(new File(strFilePath + File.separatorChar + strEntryFName).exists())) { System.out.println("[ERROR] The input file " + strFilePath + File.separatorChar + strEntryFName + " does NOT exist!"); return null; } zipEntry = new ZipEntry(strEntryFName); zos.putNextEntry(zipEntry); fin = new FileInputStream(strFilePath + File.separatorChar + strEntryFName); while ((iReadSize = fin.read(bInputBuf)) != -1) { zos.write(bInputBuf); iFileSize += iReadSize; bInputBuf = new byte[BUF_SIZE]; } iCntEntry++; sbZippedEntryList.append(strEntryFName + "|" + iFileSize + "\n"); iReadSize = 0; iFileSize = 0; System.out.println("[INFO] Entry No. " + iCntEntry + ": " + strEntryFName); fin.close(); if(new File(strFilePath + File.separatorChar + strEntryFName).renameTo(new File(ARCHIEVE_ZONE + File.separatorChar + strEntryFName))) System.out.println("[INFO] Entry file " + strEntryFName + " is already moved to Archieve Zone!"); } strManifestFName = strZipFilePattern + "_" + strTS + ".MANIFEST"; zipEntry = new ZipEntry(strManifestFName); zos.putNextEntry(zipEntry); zos.write(sbZippedEntryList.toString().getBytes()); zos.close(); System.out.println("---------------------------\n[TOTAL] Zip No. " + (iCntZip + 1) + ": " + iCntEntry + " files compressed into zip " + strZipFName + "!\n---------------------------\n"); sbZipFNameList.append(strZipFName); } System.out.println("[END] Finished reading and zipping!"); System.out.println("[INFO] Current Time in Millis: " + System.currentTimeMillis()); } catch(ZipException zipE){ System.out.println("[ERROR] ZipException thrown!"); zipE.printStackTrace(); } catch (IOException ioE) { System.out.println("[ERROR] IOException thrown!"); ioE.printStackTrace(); } return sbZipFNameList.toString(); }
解压缩需求:解压缩一个zip文件,读取MANIFEST文件,一一验证MANIFEST文件中所列的文件名和大小,只有当所有文件和大小均匹配时解压zip包至特定目录。
Java文件解压缩需要用到的类包括ZipFile(用文件名实例化一个压缩包)和ZipEntry,ZipEntry实例被从ZipFile实例获取。 利用ZipFile的getOutputStream()(zipEntry实例作为参数)可以获取对zipEntry的输入流,由此读入数据并写出到文件系统。
代码如下:
public class FileUnzipper { public static Logger logger = Logger.getLogger(FileUnzipper.class.getName()); public String strErrMsg = ""; void unzip(String strZipFilePath, String strTargetFilePath, String strErrorZone, String strZipPattern, String strClaimsFilePattern, String strArchivePath) { if (!new File(strZipFilePath).exists() || !new File(strTargetFilePath).exists() || strZipPattern == null || strZipPattern.trim().length() <= 0 || strClaimsFilePattern == null || strClaimsFilePattern.trim().length() <= 0){ strErrMsg = "The mandatory location/filename for unzipping is(are) NOT valid!"; logger.error("[" + PropSet.GIFInterfaceId + "] " + strErrMsg); return; } File[] fZipArray = new File(strZipFilePath).listFiles(new FileListFilter(strZipPattern, "zip")); if (fZipArray == null || fZipArray.length == 0){ strErrMsg = "No Zip file with pattern " + strZipPattern + " exist in the source path: " + strZipFilePath; logger.error("[" + PropSet.GIFInterfaceId + "] " + strErrMsg); return; } ZipFile zipFile = null; ZipEntry zipEntry = null; Enumeration zipAllEntries = null; BufferedReader bufManifestReader = null; Map mapFNameToSize = new HashMap(); InputStream isEntryFile = null; OutputStream osEntryFile = null; OutputStream osEntryArchive = null; String strZipFName = ""; String strManifestFName = ""; String strReadLine = ""; String strEntryFName = ""; long lEntryFSize = 0L; int iEntryCounter = 0; byte[] bReadBuf = new byte[PropSet.FILE_WRITE_BUFSIZE]; boolean bEntryMismatched = false; try{ for (int iZip = 0; iZip < fZipArray.length; iEntryCounter = 0, iZip++){ strZipFName = fZipArray[iZip].getName(); strManifestFName = strZipFName.substring(0, strZipFName.indexOf(".zip")) + ".MANIFEST"; if(!fZipArray[iZip].isFile()){ logger.warn("The zip file " + strZipFName + " is directory or NOT a normal zip file! Moving to ErrorZone..."); if(fZipArray[iZip].renameTo(new File(strErrorZone + File.separator + strZipFName))) logger.info("Successfully moved to ErrorZone!"); else logger.error("Failed to move to ErrorZone!"); continue; } zipFile = new ZipFile(fZipArray[iZip]); // process manifest entry zipEntry = zipFile.getEntry(strManifestFName); if(zipEntry == null){ strErrMsg = "The zip file " + strZipFName + " does NOT contain MANIFEST file! Moving the zip file to ErrorZone..."; logger.error("[" + PropSet.GIFInterfaceId + "] " + strErrMsg); if(!fZipArray[iZip].renameTo(new File(strErrorZone + File.separator + strZipFName))) logger.info("Successfully moved to ErrorZone!"); else logger.error("Failed to move to ErrorZone!"); continue; } bufManifestReader = new BufferedReader(new InputStreamReader(zipFile.getInputStream(zipEntry))); while((strReadLine = bufManifestReader.readLine()) != null){ try{ mapFNameToSize.put(strReadLine.split("[|]")[0], strReadLine.split("[|]")[1]); }catch(Exception exc){ throw new Exception("Failed to add [filename --> filesize] mapping to hashmap from manifest file! Line supposed to be mapped: " + strReadLine); } } mapFNameToSize.put(strManifestFName, Long.toString(zipEntry.getSize())); bufManifestReader.close(); // process data entries zipAllEntries = zipFile.entries(); while(zipAllEntries.hasMoreElements()){ bEntryMismatched = false; zipEntry = (ZipEntry)zipAllEntries.nextElement(); strEntryFName = zipEntry.getName().trim(); lEntryFSize = zipEntry.getSize(); if(zipEntry.isDirectory()){ logger.warn("The entry " + strEntryFName + " IS directory, to ignore it."); continue; } if(!(strEntryFName.startsWith(strClaimsFilePattern) || strEntryFName.trim().equals(strManifestFName))){ bEntryMismatched = true; strErrMsg = "Invalid Zip Entry Name " + strEntryFName + ", Decompressing to ErrorZone..."; logger.error("[" + PropSet.GIFInterfaceId + "] " + strErrMsg); }else if(!mapFNameToSize.containsKey(strEntryFName) || !mapFNameToSize.get(strEntryFName).equals(Long.toString(lEntryFSize))){ bEntryMismatched = true; strErrMsg = "Entry-filename: " + strEntryFName + ", Entry-filesize: " + lEntryFSize + " mismatch with the value " + mapFNameToSize.get(strEntryFName) + " in Manifest file! Decompressing to ErrorZone..."; logger.error("[" + PropSet.GIFInterfaceId + "] " + strErrMsg); } isEntryFile = zipFile.getInputStream(zipEntry); osEntryFile = bEntryMismatched ? new FileOutputStream(strErrorZone + File.separator + strEntryFName) : new FileOutputStream(strTargetFilePath + File.separator + strEntryFName); osEntryArchive = new FileOutputStream(strArchivePath + File.separator + strEntryFName); while(isEntryFile.read(bReadBuf) != -1){ osEntryFile.write(bReadBuf); osEntryArchive.write(bReadBuf); } isEntryFile.close(); osEntryFile.close(); osEntryArchive.close(); if(!bEntryMismatched){ iEntryCounter++; logger.info("Matched Entry No. " + iEntryCounter + " | Entry Name: " + strEntryFName +", Entry File Size: " + lEntryFSize); }else logger.info("The mismatched Entry file was Decompressed to ErrorZone and Archived!"); } logger.info("Zip No. " + iZip + " | Zip Filename: " + strZipFName + ", Entries contained: " + zipFile.size() + ", Entries decompressed: " + iEntryCounter); zipFile.close(); if(fZipArray[iZip].delete()) logger.info("Deleted the zip file!"); else logger.warn("Failed to delete the zip file!"); } logger.info("Finished process the zip file(s) in location " + strZipFilePath); }catch(IOException ioE){ strErrMsg = "IOException happned with msg: " + ioE.getMessage(); logger.error("[" + PropSet.GIFInterfaceId + "] " + strErrMsg); if(fZipArray != null && fZipArray.length > 0){ for(int iZip = 0; iZip < fZipArray.length; iZip++){ if(!fZipArray[iZip].renameTo(new File(strErrorZone + File.separator + fZipArray[iZip].getName()))){ logger.warn("Failed to move the left zip file " + fZipArray[iZip].getName() + " to ErrorZone " + strErrorZone); }else logger.info("Moved the zip file " + fZipArray[iZip].getName() + " to ErrorZone " + strErrorZone); } } }catch(Exception exc){ strErrMsg = "Exception happened with msg: " + exc.getMessage(); logger.error("[" + PropSet.GIFInterfaceId + "] " + strErrMsg); } } class FileListFilter implements FilenameFilter { private String name; private String extension; public FileListFilter(String name, String extension) { this.name = name; this.extension = extension; } public boolean accept(File directory, String filename) { boolean fileOK = true; if (name != null) { fileOK &= filename.startsWith(name); } if (extension != null) { fileOK &= filename.endsWith('.' + extension); } return fileOK; } } class PropSet { static int FILE_WRITE_BUFSIZE = 1024; static String GIFInterfaceId = "I2001_GLB"; }
由于需求特定,代码实现有所局限。
看到Snowolf对带有压缩算法的压缩/解压缩的研究,在实际应用中需要面对不同的问题和场景,如文件读写同步/目录压缩及解压缩/中文编码等。故本文章也会适时更新。
发表评论
-
uniVocity-parsers:一款强大的CSV/TSV/定宽文本文件解析库(Java)
2015-04-27 00:21 5984uniVocity-parsers 是一个开源的Java项目。 ... -
GWT通信机制初探
2010-01-29 10:30 8750GWT RPC:GWT提供类似Swing的界面开发模式(基于U ... -
Java中禁止的包名(Prohibited package name)
2009-08-19 00:18 36597由于定义了以java开始的包(java.mypackage), ... -
Log4j for Tomcat5.5
2009-05-31 13:41 2386在Tomcat5.5之前,可以通过server.xml下< ... -
利用JDBC操作Oracle CLOB和BLOB类型数据
2009-05-11 09:41 10285对LOB数据(包括CLOB BLOB NCLOB BFILE类 ... -
解决eclipse3.4下错误:Exception starting filter struts2
2009-05-04 12:26 1706项目中用到struts2,跟以前用到过的struts有很大区别 ... -
JDBC高级编程:操作结果集
2009-04-23 10:26 4875自JDBC2.0之后,可滚动(Scrollabl ... -
Java动态绑定探讨
2009-04-20 09:26 1442本文转 “子 孑” 博客:http://zhangjunhd. ... -
区别类方法、实例方法和字段的调用
2009-04-16 15:41 2252本例根据一个实例来说明类方法和实例方法调用的区别,以 ... -
Tomcat类加载器体系结构
2009-04-03 22:09 5698与Java语言相似,Tomcat提供了分级类加载机制,当 ... -
多线程的弹球游戏实现
2009-04-02 00:16 2173大二开始学习Java的时候 ... -
Java类加载器
2009-03-31 21:06 4269Java是介于编译型和解释型之间的编程语言,编译器将jav ... -
JSON
2008-12-29 22:28 1801JSON建构于两种结构: ...
相关推荐
西门子S7-200 Smart PLC与昆仑通态触摸屏控制三台台达变频器通讯方案,西门子S7-200 Smart PLC与昆仑通态触摸屏控制三台台达变频器通讯方案,西门子s7 200smart与3台台达VFD-M变频器通讯目标:用触摸屏和西门子smart 控制3台台达变频器通讯 器件:西门子s7 200 smart PLC,3台台达VFD-M变频器,昆仑通态触摸屏(带以太网),中途可以加路由器 控制方式:触摸屏与plc以太网通讯,PLC与变频器通讯485口相连 功能:触摸屏控制变频器设定频率,启停,读取输出频率,电压 说明:是程序,非硬件。 程序有注释,变频器设置,接线都有,一应俱全 ,核心关键词:西门子s7 200smart; 台达VFD-M变频器; 昆仑通态触摸屏; 以太网通讯; PLC与变频器485通讯; 频率设定; 启停控制; 输出频率读取; 电压读取; 程序注释; 变频器设置; 接线。,西门子PLC与台达变频器通讯控制程序:触摸屏操作,频率设定与读取
移动端多端运行的知识付费管理系统源码,TP6+Layui+MySQL后端支持,功能丰富,涵盖直播、点播、管理全功能及礼物互动,基于UniApp跨平台开发的移动端知识付费管理系统源码:多端互通、全功能齐备、后端采用TP6与PHP及Layui前端,搭载MySQL数据库与直播、点播、管理、礼物等功能的强大整合。,知识付费管理系统源码,移动端uniApp开发,app h5 小程序一套代码多端运行,后端php(tp6)+layui+MySQL,功能齐全,直播,点播,管理,礼物等等功能应有尽有 ,知识付费;管理系统源码;移动端uniApp开发;多端运行;后端php(tp6);layui;MySQL;直播点播;管理功能;礼物功能,知识付费管理平台:全功能多端运行系统源码(PHP+Layui+MySQL)
PMSM永磁同步电机仿真中的三电平SVPWM矢量控制与双环矢量控制策略研究——基于Matlab平台,基于Matlab的三电平SVPWM矢量控制PMSM永磁同步电机双环矢量控制仿真研究,PMSM永磁同步电机仿真三电平SVPWM矢量控制matlab PMSM双环矢量控制传统三电平 ,PMSM永磁同步电机; 三电平SVPWM矢量控制; 双环矢量控制; MATLAB仿真。,PMSM仿真与三电平SVPWM矢量控制:双环策略与传统三电平对比研究
三菱FX3U与力士乐VFC-x610变频器通讯案例详解:PLC控制下的变频器操作与设置程序,含接线方式及昆仑通态触摸屏操作指南,三菱FX3U与力士乐VFC-x610变频器通讯案例详解:接线、设置与程序注解,实现频率设定、启停控制与实时数据读取功能。,三菱FX3U与力士乐VFC-x610变频器通讯程序三菱FX3U与力士乐VFC-x610变频器通讯案例程序,有注释。 并附送程序,有接线方式,设置。 器件:三菱FX3U的PLC,力士乐VFCx610变频器,昆仑通态,威纶通触摸屏。 功能:实现频率设定,启停控制,实际频率读取等。 ,三菱FX3U;力士乐VFC-x610变频器;通讯程序;案例程序;注释;接线方式;设置;频率设定;启停控制;实际频率读取;昆仑通态;威纶通触摸屏。,三菱FX3U与力士乐VFC-x610变频器通讯程序及案例:频率控制与读取实践
基于八自由度车辆模型的四轮转向系统横摆角速度控制仿真研究:滑模控制算法的高效表现参考说明,基于滑模控制算法的四轮转向系统横摆角速度控制Simulink仿真模型研究,四轮转向系统横摆角速度控制simulink仿真模型,利用滑模控制算法,基于八自由度车辆模型,控制有比较好的效果,附参考说明。 ,四轮转向系统; 横摆角速度控制; Simulink仿真模型; 滑模控制算法; 八自由度车辆模型; 控制效果,八自由度车辆四轮转向滑模控制横摆角速度仿真研究
内容概要:本文介绍了一系列使用 Python 生态内的不同库和模块,如随机选择、图像处理库(PIL)、动画生成工具(Matplotlib),ASCII 艺术,以及音频播放库(pygame)创建与国庆节日相关的数字资源。这些资源包括祝福文本、静态图像、动态动画、文本艺术形式,以及音乐播放。每个代码示例都简洁而易懂,便于使用者快速复制并进行个性化的修改以适用于各种场合。 适合人群:对 Python 基础有掌握的技术爱好者、程序员、教师或者学生群体。 使用场景及目标:本篇文章提供的实例旨在帮助开发者通过编程的方式为特定节日营造氛围,同时也是一种编程技能练习的方法。目的是让用户学会综合利用各个 Python 库的功能,增强程序间的交流能力,并提升自身对 Python 语言的应用熟练度。 其他说明:尽管例子简单直接但涵盖内容广泛,在实际应用时可以根据个人需要调整或拓展所提供的基础模板。此外文中并未详细探讨涉及到的具体库的基础安装方法,所以可能需要预先确保拥有正确环境才能顺利运行全部示例代码。
整车试验项目清单及DVP模型:全面涵盖整车、系统及零部件,精准掌握开发阶段,助力产品参考开发,整车试验项目清单及DVP模型:涵盖整车、系统与零部件,明确开发阶段参考指南,整车试验项目清单,整车DVP模型,包含整车、系统及零部件,并 给出了项目开展阶段。 可作为整车产品开发参考 ,整车试验项目清单; 整车DVP模型; 整车、系统及零部件; 项目开展阶段,整车DVP模型试验及开发项目清单参考
毕业设计
本资源提供了一套基于OpenCV和Dlib库的完整C++源码,专注于实时人脸识别应用开发。该项目结合了OpenCV的图像处理能力和Dlib的人脸识别技术,实现了多种人脸检测与识别功能,适用于各种实时监控和身份验证场景。 关键功能包括: 人脸检测与标记:从图片中自动检测并标记所有人脸,帮助快速识别和定位。 人脸特征点标记:识别并标记图片中所有人脸的68个特征点,提供详细的人脸特征分析。 特征点绘制与编号:在图片中检测人脸并绘制其特征,同时对68个特征点进行编号,便于进一步处理和分析。 目标人物识别: 从指定lib目录中的图片中识别目标人物,实现特定人物的快速识别。 从视频流中识别出lib目录下的目标人物,适用于动态监控场景。 从摄像监控中实时识别目标人物,实现实时安全监控和身份验证。 非特定目标识别:支持识别非特定目标,增强系统的适应性和识别能力。 项目优势: 高效的C++实现:利用C++与OpenCV、Dlib的结合,实现高效、快速的人脸识别处理。 实时应用支持:支持从静态图片到动态视频流的多种输入形式,满足实时应用需求。
疫情数据可视化分析系统采用Django框架,基于mysql开发,实现了首页、个人中心、用户管理、员工管理、疫情信息管理、核酸检测管理、检测预约管理、检测结果管理、行程信息管理、系统管理等内容进行管理
Java使用JNA、JNI两种不同方式调用DLL、SO动态库方式读写读写15693协议ICODE标签、富士通MB89R118标签示例源码,轻松读写块内数据,改写兼容芯片SLIX1830的UID等操作,支持Windows系统,同时支持龙芯Mips、LoongArch、海思麒麟鲲鹏飞腾Arm、海光兆芯x86_Amd64等架构平台的国产统信、麒麟等Linux系统,内有jna-4.5.0.jar包,vx13822155058 qq954486673
台达DVP PLC与力士乐VFC-x610变频器通讯程序详解:从接线到昆仑通态界面实现控制功能全攻略,台达DVP PLC与力士乐变频器通讯编程指南:接线、设置与昆仑通态程序全解析,台达DVP PLC与3台力士乐VFC-x610变频器通讯程序 程序带注释,并附送昆仑通态程序,有接线方式,设置。 器件:台达DVP ES系列的PLC,3台力士乐VFC-x610系列变频器,昆仑通态 功能:实现频率设定,启停控制,实际频率读取等,状态读取指示 ,台达DVP PLC; 力士乐VFC-x610变频器; 昆仑通态; 通讯程序; 注释; 接线方式; 频率设定; 启停控制; 实际频率读取; 状态读取指示,台达DVP PLC与力士乐变频器通讯程序:带注释与接线设置,实现频率控制与状态指示
Fanuc数据采集中文API
Cruise纯电动汽车与增程混动汽车Simulink联合仿真模型搭建与策略研究,Cruise纯电动汽车与增程混动汽车仿真模型:Simulink联合搭建的整车及策略模型详解,cruise纯电动汽车、增程混动汽车仿真模型,simulink联合仿真,模型均亲自搭建。 提供整车模型及策略模型 ,cruise纯电动汽车; 增程混动汽车仿真模型; simulink联合仿真; 模型搭建; 整车模型; 策略模型,基于Simulink联合仿真:Cruise纯电动与增程混动汽车模型搭建与实践
nodejs windows版安装包
在 GEE(Google Earth Engine)中,XEE 包是一个用于处理和分析地理空间数据的工具。以下是对 GEE 中 XEE 包的具体介绍: 主要特性 地理数据处理:提供强大的函数和工具,用于处理遥感影像和其他地理空间数据。 高效计算:利用云计算能力,支持大规模数据集的快速处理。 可视化:内置可视化工具,方便用户查看和分析数据。 集成性:可以与其他 GEE API 和工具无缝集成,支持多种数据源。 适用场景 环境监测:用于监测森林砍伐、城市扩展、水体变化等环境问题。 农业分析:分析作物生长、土地利用变化等农业相关数据。 气候研究:研究气候变化对生态系统和人类活动的影响。
路径规划人工势场法及其改进算法Matlab代码实现,路径规划人工势场法及其改进算法Matlab代码实现,路径规划人工势场法以及改进人工势场法matlab代码,包含了 ,路径规划; 人工势场法; 改进人工势场法; MATLAB代码; 分隔词“;”。,基于Matlab的改进人工势场法路径规划算法研究
三菱FX3U与台达VFD变频器通讯指南:全程案例解析与接线设置讲解(含实用视频与程序附件),三菱FX3U与台达VFD变频器通讯指南:从编程教程到实际使用(包含接线与设置方法,实用案例程序和设置手册),三菱FX3U与台达VFD M变频器通讯教程。 三菱FX3U与台达VFD变频器通讯案例程序全程讲解,有注释。 讲解实用,自制视频。 并附送程序,有接线方式,设置。 器件:三菱FX3U的PLC,485BD板,台达VFD M变频器,昆仑通态,威纶通触摸屏。 功能:实现频率设定,启停控制,实际频率读取等。 ,教程;通讯案例;注释;程序附送;接线方式;设置;三菱FX3U PLC;485BD板;台达VFD M变频器;昆仑通态;威纶通触摸屏;频率设定;启停控制;实际频率读取。,三菱FX3U与台达VFD M变频器通讯全攻略:程序详解与实用操作指南
MATLAB是一款广泛应用于工程计算、信号处理、图像处理、机器学习和数据分析等领域的高性能数值计算软件。本资源包含是详细的MATLAB下载、安装及激活说明
基于MATLAB与YALMIP的含分布式与储能的微网优化调度模型:精准采集与高效求解,利用MATLAB和YALMIP构建含分布式与储能的微网优化模型,实现精准调度与约束管理,微网优化调度matlab 采用matlab+yalmip编制含分布式和储能的微网优化模型,程序采用15分钟为采集节点,利用cplex求解,程序考虑发电机的启停约束,程序运行可靠 ,微网优化调度; MATLAB编程; YALMIP; 分布式储能; 优化模型; CPLX求解; 节点采集; 发电机约束。,Matlab下的微网优化调度模型:分布式储能协同Cplex求解程序