/// <summary> /// /// </summary> /// <param name="signal"></param> /// <returns></returns> public uint GetWord(PlaceSignalDescription signal) { // Проверка допустимости данных сигнала Check(signal); var word = Arinc429FunctionClass.GetWord(signal.Device ?? 0, ChannelArincUpc10ToVm7, signal.Word ?? 0); CheckWord(signal, word); return(word); }
/// <summary> /// /// </summary> /// <param name="signal"></param> /// <returns></returns> public byte GetRk(PlaceSignalDescription signal) { // Проверка допустимости данных сигнала Check(signal); var word = Arinc429FunctionClass.GetWord(signal.Device ?? 0, ChannelArincUpc10ToVm7, signal.Word ?? 0); CheckWord(signal, word); return(( byte )((word >> (signal.Pin ?? 0)) & 0x1)); }