internal short ReadRegisterS(ushort Address, bool SkipJournal = false) { short value = 0; if (!m_IsSLEmulation) { value = m_IOAdapter.Read16S(m_Node, Address); } if (!SkipJournal) { SystemHost.Journal.AppendLog(ComplexParts.SL, LogMessageType.Note, string.Format("VTM @ReadRegisterS, address {0}, value {1}", Address, value)); } return(value); }
internal short ReadRegisterS(ushort address, bool skipJournal = false) { short value = 0; if (!_isSctuEmulation) { value = _ioAdapter.Read16S(_node, address); } if (!skipJournal) { SystemHost.Journal.AppendLog(ComplexParts.Sctu, LogMessageType.Note, string.Format("Sctu @ReadRegisterS, address {0}, value {1}", address, value)); } return(value); }
internal short ReadRegisterS(ushort Address, bool SkipJournal = false) //чтение short значения регистра с номером Address блока QrrTq { short value = 0; if (!m_IsEmulation) { value = m_IOAdapter.Read16S(m_Node, Address); } if (!SkipJournal) { SystemHost.Journal.AppendLog(ComplexParts.QrrTq, LogMessageType.Note, string.Format("QrrTq @ReadRegisterS, address {0}, value {1}", Address, value)); } return(value); }