Esempio n. 1
0
 public JavaClientControl()
 {
     ServerCommunicationRealize.GetInitialize().DataReceived += JavaClientControl_DataReceived;
 }
Esempio n. 2
0
 /// <summary>
 /// 发送数据
 /// </summary>
 /// <param name="code">功能码</param>
 /// <param name="bs">正文</param>
 /// <returns></returns>
 public async Task SendDataToJava(short code, byte[] bs)
 {
     WriteLogRealize.GetInstance().WriteTo_rTxtJavaCode(true, code, bs);
     await ServerCommunicationRealize.GetInitialize().Send(code, bs);
 }