x
This commit is contained in:
parent
2ae364acc9
commit
272ab6444d
@ -12,7 +12,7 @@
|
|||||||
<maven.compiler.source>17</maven.compiler.source>
|
<maven.compiler.source>17</maven.compiler.source>
|
||||||
<maven.compiler.target>17</maven.compiler.target>
|
<maven.compiler.target>17</maven.compiler.target>
|
||||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||||
<com.zen>1.0.4</com.zen>
|
<com.zen>1.0.6-SNAPSHOT</com.zen>
|
||||||
</properties>
|
</properties>
|
||||||
<dependencies>
|
<dependencies>
|
||||||
<dependency>
|
<dependency>
|
||||||
|
@ -2,12 +2,13 @@ package com.yimiyisu.iot;
|
|||||||
|
|
||||||
import com.zen.ZenApp;
|
import com.zen.ZenApp;
|
||||||
|
|
||||||
public class Application {
|
public class Application implements ZenApp {
|
||||||
|
|
||||||
public static void main(String[] args) {
|
public static void main(String[] args) {
|
||||||
int listenPort = 7097;
|
int listenPort = 7097;
|
||||||
String appName = "iot";
|
String appName = "iot";
|
||||||
// ZenEnvironment.setMulti(true);
|
ZenApp app = new Application();
|
||||||
ZenApp.start(args, appName, listenPort, Application.class);
|
app.scanController();
|
||||||
|
app.start(appName, listenPort);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user