Beispiel #1
0
        public void disconnect()
        {
            ReqClass req = new ReqClass();

            req.type = ReqClass.RequestType.DISCONNECT;
            reqListMutex.WaitOne();
            reqList.Add(req);
            reqListMutex.ReleaseMutex();
        }
Beispiel #2
0
        public void delModePidReq(String mode, String pid)
        {
            ReqClass req = new ReqClass();

            req.type   = ReqClass.RequestType.MODE_PID;
            req.mode   = mode;
            req.pid    = pid;
            req.repeat = true;
            reqListMutex.WaitOne();
            reqRmList.Add(req);
            reqListMutex.ReleaseMutex();
        }
Beispiel #3
0
 public void disconnect()
 {
     ReqClass req = new ReqClass();
     req.type = ReqClass.RequestType.DISCONNECT;
     reqListMutex.WaitOne();
     reqList.Add(req);
     reqListMutex.ReleaseMutex();
 }
Beispiel #4
0
 public void delModePidReq(String mode, String pid)
 {
     ReqClass req = new ReqClass();
     req.type = ReqClass.RequestType.MODE_PID;
     req.mode = mode;
     req.pid = pid;
     req.repeat = true;
     reqListMutex.WaitOne();
     reqRmList.Add(req);
     reqListMutex.ReleaseMutex();
 }