mirror of
https://github.com/luoyan35714/OPC_Client.git
synced 2025-01-18 16:52:50 +08:00
Add the learning notes
This commit is contained in:
parent
903bc064a9
commit
f47887aab4
@ -8,6 +8,7 @@ import java.util.concurrent.Executors;
|
||||
import org.apache.log4j.Logger;
|
||||
import org.openscada.opc.lib.da.AccessBase;
|
||||
import org.openscada.opc.lib.da.Async20Access;
|
||||
import org.openscada.opc.lib.da.AutoReconnectController;
|
||||
import org.openscada.opc.lib.da.DataCallback;
|
||||
import org.openscada.opc.lib.da.Item;
|
||||
import org.openscada.opc.lib.da.ItemState;
|
||||
@ -34,8 +35,9 @@ public class PublishOPCPerfTest {
|
||||
|
||||
Server server = new Server(config(),
|
||||
Executors.newSingleThreadScheduledExecutor());
|
||||
AutoReconnectController controller = new AutoReconnectController(server);
|
||||
|
||||
server.connect();
|
||||
controller.connect();
|
||||
|
||||
AccessBase access = new Async20Access(server, 1000, true);
|
||||
|
||||
@ -51,7 +53,7 @@ public class PublishOPCPerfTest {
|
||||
}
|
||||
|
||||
access.bind();
|
||||
Thread.sleep(1000);
|
||||
Thread.sleep(2 * 24 * 60 * 60 * 1000);
|
||||
access.unbind();
|
||||
long end = System.currentTimeMillis();
|
||||
LOGGER.info("EndDate[" + new Date() + "],CurrentMillis:" + end);
|
||||
|
File diff suppressed because it is too large
Load Diff
14
README.md
14
README.md
@ -4,3 +4,17 @@ OPC_Client
|
||||
OPC client examples include [utgard](http://openscada.org/projects/utgard/) and [jeasyopc](http://sourceforge.net/projects/jeasyopc/?source=navbar)
|
||||
|
||||
Also for the real produce environment, there's two example for <b>performance</b> test.
|
||||
|
||||
<h2>Next Step</h2>
|
||||
<ul>
|
||||
<li>继续压力测试</li>
|
||||
<li>10W点下异步的时间</li>
|
||||
<li>异步下多少线程数是最好的</li>
|
||||
<li>发布订阅实现读取</li>
|
||||
<li>场景选择</li>
|
||||
<li>监测点与场景及thread数目选择问题</li>
|
||||
</ul>
|
||||
|
||||
<h2>现在依然存在的问题</h2>
|
||||
1. 发布订阅的实现
|
||||
2. 异步的源码实现
|
BIN
书籍/InstallationGuide.pdf
Normal file
BIN
书籍/InstallationGuide.pdf
Normal file
Binary file not shown.
BIN
书籍/Marikon OPC Books/ExplorerEULA.pdf
Normal file
BIN
书籍/Marikon OPC Books/ExplorerEULA.pdf
Normal file
Binary file not shown.
BIN
书籍/Marikon OPC Books/MatrikonOPC Analyzer Release Notes.pdf
Normal file
BIN
书籍/Marikon OPC Books/MatrikonOPC Analyzer Release Notes.pdf
Normal file
Binary file not shown.
BIN
书籍/Marikon OPC Books/MatrikonOPC Analyzer User Manual.pdf
Normal file
BIN
书籍/Marikon OPC Books/MatrikonOPC Analyzer User Manual.pdf
Normal file
Binary file not shown.
BIN
书籍/Marikon OPC Books/MatrikonOPC Explorer Quick Start Guide.pdf
Normal file
BIN
书籍/Marikon OPC Books/MatrikonOPC Explorer Quick Start Guide.pdf
Normal file
Binary file not shown.
BIN
书籍/Marikon OPC Books/MatrikonOPC Explorer Release Notes.pdf
Normal file
BIN
书籍/Marikon OPC Books/MatrikonOPC Explorer Release Notes.pdf
Normal file
Binary file not shown.
BIN
书籍/Marikon OPC Books/MatrikonOPC Explorer User Manual.pdf
Normal file
BIN
书籍/Marikon OPC Books/MatrikonOPC Explorer User Manual.pdf
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
书籍/OPCDA服务器与客户程序开发指南.pdf
Normal file
BIN
书籍/OPCDA服务器与客户程序开发指南.pdf
Normal file
Binary file not shown.
BIN
书籍/OPC_Server_及_Client系统.pdf
Normal file
BIN
书籍/OPC_Server_及_Client系统.pdf
Normal file
Binary file not shown.
BIN
书籍/OPC应用程序入门.pdf
Normal file
BIN
书籍/OPC应用程序入门.pdf
Normal file
Binary file not shown.
BIN
书籍/OPC教程.doc
Normal file
BIN
书籍/OPC教程.doc
Normal file
Binary file not shown.
BIN
书籍/OPC的协议.pdf
Normal file
BIN
书籍/OPC的协议.pdf
Normal file
Binary file not shown.
BIN
书籍/Principle and configuration of OPC specification.pdf
Normal file
BIN
书籍/Principle and configuration of OPC specification.pdf
Normal file
Binary file not shown.
BIN
学习笔记/OPC 学习笔记 1-技术准备.docx
Normal file
BIN
学习笔记/OPC 学习笔记 1-技术准备.docx
Normal file
Binary file not shown.
Binary file not shown.
BIN
学习笔记/OPC 学习笔记 3-什么是OPC.docx
Normal file
BIN
学习笔记/OPC 学习笔记 3-什么是OPC.docx
Normal file
Binary file not shown.
BIN
学习笔记/OPC 学习笔记 4-OPC主要功能.docx
Normal file
BIN
学习笔记/OPC 学习笔记 4-OPC主要功能.docx
Normal file
Binary file not shown.
BIN
学习笔记/OPC 学习笔记 5-Client调用之Utgard.docx
Normal file
BIN
学习笔记/OPC 学习笔记 5-Client调用之Utgard.docx
Normal file
Binary file not shown.
BIN
学习笔记/OPC 学习笔记 6-Client调用之Jeasyopc.docx
Normal file
BIN
学习笔记/OPC 学习笔记 6-Client调用之Jeasyopc.docx
Normal file
Binary file not shown.
BIN
学习笔记/OPC 学习笔记 7-遇到的问题.docx
Normal file
BIN
学习笔记/OPC 学习笔记 7-遇到的问题.docx
Normal file
Binary file not shown.
BIN
学习笔记/OPC 学习笔记 8-Client调用之Utgard和Jeasyopc比较.docx
Normal file
BIN
学习笔记/OPC 学习笔记 8-Client调用之Utgard和Jeasyopc比较.docx
Normal file
Binary file not shown.
BIN
学习笔记/~$C 学习笔记 4-OPC主要功能.docx
Normal file
BIN
学习笔记/~$C 学习笔记 4-OPC主要功能.docx
Normal file
Binary file not shown.
BIN
学习笔记/~$C 学习笔记 7-遇到的问题.docx
Normal file
BIN
学习笔记/~$C 学习笔记 7-遇到的问题.docx
Normal file
Binary file not shown.
BIN
学习笔记/~$C 学习笔记 8-Client调用之Utgard和Jeasyopc比较.docx
Normal file
BIN
学习笔记/~$C 学习笔记 8-Client调用之Utgard和Jeasyopc比较.docx
Normal file
Binary file not shown.
BIN
学习笔记/~WRL0005.tmp
Normal file
BIN
学习笔记/~WRL0005.tmp
Normal file
Binary file not shown.
BIN
安装文件/MatrikonOPCSimulation.EXE
Normal file
BIN
安装文件/MatrikonOPCSimulation.EXE
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user