Пример #1
0
        private ReplyCode GetReply(ref int nValue, bool bVersion)
        {
            byte[]    RxBuffer = new byte[9];
            byte      uchReplyAddr = 0, ucModuleAdr = 0, uchStatus = 0, ucCmdNumber = 0;
            ReplyCode ret = _Main.GetLoadlockData().Loadlock.GetReply(ref uchReplyAddr, ref ucModuleAdr, ref uchStatus, ref ucCmdNumber, ref nValue, ref RxBuffer, bVersion);

            UpdateRoundTick(RxBuffer);
            return(ret);
        }
Пример #2
0
 public bool Initialize()
 {
     return(_Main.GetLoadlockData().Loadlock.OpenComm(_Main.ConfigMgr.Loadlock_Com.Comport, _Main.ConfigMgr.Loadlock_Com.Baudrate));
 }