Дополни этот текст: Высылаю список работающих функций, как ты и просила: Функции,…
- User
Дополни этот текст: Высылаю список работающих функций, как ты и просила:
Функции, которые используются для получения: GetPilotState – объяснение GetBILast - объяснение GetHRLast - объяснение GetEEGLast – объяснение GetPilotPhysiologicalState - объяснение GetPilotPsychophysiologicalState - объяснение IsPilotInCabin - объяснение IsPilotingIncorrectly - объяснение GetCVSControlCenterState - объяснение GetAlertnessLevel ¬¬¬¬¬¬¬¬¬ объяснение GetCognitiveLoadCapacity объяснение GetWithWideEyesClosed объяснение GetIncorrectManeuverType объяснение IsBaevskyIndexInformative объяснение GetLastCardiacCycleLength объяснение GetEEGSpectrumPower объяснение GetFourierResultsIntervalogram объяснение
Функции с реализацией (без заглушек, без комментариев, которые реально работают):
Заглушки или закомментированные функции:
(Работай с теми функциями которые я тебе скинул выше) Вот код: (using Newtonsoft.Json; using System; using WebSocketSharp; using System.Threading; using RingBuffer; using System.Collections; using DataType.ExternalSystems.Psy; using Newtonsoft.Json.Linq;
namespace ClassLibBRD { public class HW_interface {
codepublic void Init() { // m_MainModel = new MainModel(); HW_interface.Init(); } public static void Execute(ref PilotMetrics outputs) { HW_interface.GetPilotState(ref outputs); HW_interface.GetBILast(ref outputs); HW_interface.GetHRLast(ref outputs); HW_interface.GetEEGLast(ref outputs); //HW_interface.BufferTransfer(ref outputs); // Simulate method calls HW_interface.GetPilotPhysiologicalState(ref outputs); HW_interface.GetPilotPsychophysiologicalState(ref outputs); HW_interface.IsPilotInCabin(ref outputs); HW_interface.IsPilotingIncorrectly(ref outputs); HW_interface.GetEEGFrequencyInterval(ref outputs); HW_interface.GetCVSControlCenterState(ref outputs); HW_interface.GetAlertnessLevel(ref outputs); //HW_interface.GetCognitiveLoadCapacity(ref outputs); HW_interface.GetWithWideEyesClosed(ref outputs); //HW_interface.GetIncorrectManeuverType(ref outputs); //HW_interface.IsBaevskyIndexInformative(ref outputs); HW_interface.GetLastCardiacCycleLength(ref outputs); HW_interface.GetEEGSpectrumPower(ref outputs); // Так и не разобрались, нужен фурье или нет //HW_interface.GetFourierResultsIntervalogram(ref outputs); } private static void GetWithWideEyesClosed(ref PilotMetrics outputs) { outputs.IsEyesClosed = bs.gdalrt.WithWideEyesClosed; } private static void GetPilotPhysiologicalState(ref PilotMetrics outputs) { /* - Assistant