
Security News
Axios Supply Chain Attack Reaches OpenAI macOS Signing Pipeline, Forces Certificate Rotation
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.
webscada-client
Advanced tools
这个组件是基于浏览器实现SCADA的前端插件。通过WEBSocket实现与后端服务器的实时通信,实现各种设备数据的采集与变化响应。
后端服务器是使用C++语言编写,并采用IOCP技术实现高并发支持的WEBSocket服务器。WEBSocket服务器又通过COM技术与OPCServer连接,以实现与所有PLC型号良好兼容的服务能力。
在VSCode上安装 TagsEditor插件。以实现设备标记名的配置,并自动生成类型定义文件。(通过这个插件定义的标记名可以在代码编写中实现更好的智能提示) 安装方法为在VSCode商店搜索TagsEditor并安装。
下载并安装服务器端程序OPCWebServer,安装方法请参照该项目说明。
下载安装开发脚手架WebPack。
安装组件
npm install --save webscada-client
app.tagName1="test";
console.log(app.tagName1);
//单标记名情况。
app.on(
"tagName",
e=>{
e.sender 触发事件的TAG对象
e.type: 触发事件的类型
e.tagName: 触发事件的标记名
e.tagAddr?: 触发事件的
e.devValue: any;
e.tagValue: any;
},
//是否只触发一次,默认为false
false,
//事件处理程序的this指针。
app
)
//多标记名情况。
app.on(["tagName1","tagName2"],e=>{
})
//条件判断情况。
app.on((e)=>{
if (e.tagName1>20) return false;
return true;
},{
//为真时触发
onTrue(e){
},
//为真时延时时间。
onTrueDelay:1,
//为真时间隔时间。
onTrueInterval:5,
//为假时
onFalse(e){
},
//为假时延时时间
onFalseDelay:1,
//为假时间隔时间
onFalseInterval:5
})
console.log(app.tagName_bit2);
app.tagName_bit2=1;
OPCWebServer及脚手架为非免费软件,如有需要,可电话联系我:13120118297。另外,如有好的工作机会,也可与我联系。
FAQs
webSocket SCADA communication client components
The npm package webscada-client receives a total of 1 weekly downloads. As such, webscada-client popularity was classified as not popular.
We found that webscada-client demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.

Security News
Open source is under attack because of how much value it creates. It has been the foundation of every major software innovation for the last three decades. This is not the time to walk away from it.

Security News
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.