public override void Receive() { try { base.SIGNAL_1 = sollaeHandle.Read(0x02, 0, 1); base.SIGNAL_2 = sollaeHandle.Read(0x02, 1, 1); base.SIGNAL_3 = sollaeHandle.Read(0x02, 2, 1); base.SIGNAL_4 = sollaeHandle.Read(0x02, 3, 1); LogHandler.WriteLog(base.division, string.Format("{0} :: Receive() Success", this.ToString())); } catch (Exception ex) { LogHandler.WriteLog(base.division, string.Format("{0} :: Receive() Exception :: Message = {1}", this.ToString(), ex.Message)); } }
/// <summary> /// Receive Machine Data Using Library Method /// </summary> public override void Receive() { try { base.RBT_PWR = doosanHandle.Read(0x03, 264, 1); LogHandler.WriteLog(base.division, string.Format("{0} :: Receive() Success", this.ToString())); } catch (Exception ex) { LogHandler.WriteLog(base.division, string.Format("{0} :: Receive() Exception :: Message = {1}", this.ToString(), ex.Message)); } }