问题标签 [ewon]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
1 回答
2986 浏览

windows - 批处理 - 使用变量添加和 Ping 路由

关于在批处理文件的 ROUTE ADD 语法上使用变量,我有一个非常菜鸟的问题。简而言之,我要求输入 2 个值,然后我使用它们创建 2 个特定的 IP 地址,然后我想将它们传递给 ROUTE ADD 语法,但是在我的操作系统(Windows7 x64)上,当我运行脚本时,我可以看到正确的 IP01 和 IP02 变量,但我不能有 ROUTE ADD 命令来识别 IP01 和 IP02...即使我把 %IP01% 和 %IP02% 显示的命令在屏幕上什么也没写,所以我不能继续处理批处理文件. PING 命令也有同样的问题。

这是我编写的原始代码:

0 投票
1 回答
375 浏览

sql-server - 将 eWon 模块与 SQL Server 同步

我正在研究 eWon 模块,我可以在其中访问他的 eWon Machines 数据值,但我希望 SQL Server 中的所有数据都可以,所以我的问题是我无法找到任何帮助来设置 ewon 机器读取数据到 SQL Server。

请帮我找到如何在 SQL Server 中存储 eWon 模块的数据。

我也读了这个指南

我正在做这个:http ://ewon.biz/

请帮助我,并提前致谢。

0 投票
2 回答
1056 浏览

javascript - Google Gauge chart not displaying

I want to create and display a google gauge chart on a webpage for a remote monitoring program I am developing. I am using an eWON Flexy 201 to do this. I am just having trouble getting the gauge to display on the webpage.

Basically what I have to do is use a form of VBScript on the server to grab the oil temperature and return that value to the gauge to display the temperature. I have been able to return that value to the page in various ways correctly, however I am having trouble displaying and updating the gauge every second like I want to.

In the current script I am receiving no errors in the console, however nothing is rendering. I get just a blank space where the gauge should appear.

and here is the gauge.shtm file

0 投票
1 回答
164 浏览

java - 如何在 JRE javaetk 1.4.2 中使用 HashMap

基本上我在 Ewon Flexy 硬件上做项目,Ewon 硬件只支持 jre javaetk,它已经很老了。现在我必须在我的项目中使用 HashMap 的概念,但是 javaetk 不支持 HashMap 。那么有什么办法可以在旧版本的 JRE 中使用最新 JRE 的功能?提前致谢!

0 投票
1 回答
57 浏览

java - 如何在我的 Ewon 项目中使用外部 jar 文件?

我正在使用支持 javaetk 运行时环境的 Ewon 硬件项目。

现在 javaetk 中不提供 JsonReader、Logger 等一些功能。所以我从外部下载了这个 jar 文件并将其包含在我的项目中。

在 Eclipse 级别看起来不错!但在运行时,它在 Ewon 错误博客上显示该类未找到的错误!任何建议,我该如何使用它?

0 投票
1 回答
45 浏览

java - 如何使用 java 1.4 将文本附加到现有文件中

我想追加到现有的文本文件中。为此,我已经以多种方式尝试了所有这些FileWriterBufferedWriter, PrintWriter, RandomAccessFile, OutputStream, FileOutputStream,PrintStream但我无法获得我想要的输出。

这个错误java.io.FileNotFoundException: could not open file '//file:/usr/backupdata/5605.txt' using mode 'a+'很糟糕。(我正在使用仅支持 javaetk 1.4 的 ewon flexy 硬件)