private bool ConnectCloudService() { //SocketClient client = new SocketClient(); //client.StartSocket(); //client.Send(); SuperEasyClient.ConnectServer(); SuperEasyClient.btnLogin("this is client"); //btnDecrypt return(true); }
public string callAndRecalPatient(string patientID, string patientName, string counterID, int action) { //收到上屏或下屏指令,通知屏幕显示上屏/下屏 //连接服务,发送成功后,返回1 //直接发送到客户端,若发送失败,重新连接后再发送,最终返回发送结果 if (!SuperEasyClient.client.IsConnected) { SuperEasyClient.ConnectServer(); } else { SuperEasyClient.SendMessage(); } return("1"); }