aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Scripting/Tango.Scripting.Test/MainWindow.xaml.cs
blob: 58a695c10fa2e21a55dbfdb33cccbcd4b61c9745 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Forms;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;
using Tango.Scripting.Editors;

namespace Tango.Scripting.Test
{
    /// <summary>
    /// Interaction logic for MainWindow.xaml
    /// </summary>
    public partial class MainWindow : Window
    {
        public MainWindow()
        {
            ScriptEditor.LoadingSymbolsProgress += ScriptEditor_AssemblyCacheProgress;

            InitializeComponent();
            DataContext = new MainWindowVM();
        }

        private void ScriptEditor_AssemblyCacheProgress(object sender, Tango.Core.TangoProgressChangedEventArgs<int> e)
        {
            Debug.WriteLine(e.Progress.ToString());
        }
    }
}
pan> MotorId); int32_t MillisecReadFromTempSensor(uint32_t TempSensorId, MSecFptr Callback); int MillisecFlushMsgQ(TimerMotors_t MotorId); /* uint32_t getMotorStatusData(int MotorId); uint32_t getMotorSpeedData(int MotorId); uint32_t getTemperatureSensorData(int SensorId); uint32_t getADCData(int DeviceId); */ float getSensorSpeedData(void); uint32_t getDrawerFansStatus(void); uint32_t getSystemFansStatus(void); uint8_t getGasReading(void); int MillisecGetTemperatures (TEMPERATURE_SENSOR_ID_ENUM SensorId); float MillisecGetPressures (int SensorId); void setRapidPressureRead(bool value); bool getRapidPressureRead(void); void MillisecInit(void); void MillisecStop(void); void MillisecStart(void); #ifdef HUNDRED_MICROSECONDS_DANCER_READ void SaveLogData(void); void MillisecLogInit(void); void MillisecLogClose(void); #endif extern bool watchdogCriticalAlarm; extern Task_Handle Millisecond_Task_Handle; #endif /* MODULES_CONTROL_MILLISECTASK_H_ */