コード例 #1
0
        public override void DisConnect()
        {
            try
            {
                arduinoHandle.DisConnect();

                LogHandler.WriteLog(base.division, string.Format("{0} :: DisConnect() Success", this.ToString()));

                base.isConnect = false;
            }
            catch (Exception ex)
            {
                LogHandler.WriteLog(base.division, string.Format("{0} :: DisConnect() Exception :: Message = {1}", this.ToString(), ex.Message));

                base.isConnect = true;
            }
        }