add doric dev vc

This commit is contained in:
王劲鹏
2020-02-26 14:51:02 +08:00
committed by osborn
parent 3766c603ba
commit f9f48d9c8a
10 changed files with 135 additions and 11 deletions

View File

@@ -51,6 +51,10 @@ - (void)connectDevKit:(NSString *)url {
self.wsclient = [[DoricWSClient alloc] initWithUrl:url];
}
- (void)sendDevCommand:(NSString *)command {
[self.wsclient send:command];
}
- (void)disconnectDevKit {
if (self.wsclient) {
[self.wsclient close];