Esempio n. 1
0
        public Data( Kettler_X7_Lib.Networking.Client client)
        {
            valueList = new List<Kettler_X7_Lib.Objects.Value>();

            this.client = client;
            this.client.DataReceived += client_DataReceived;
        }
Esempio n. 2
0
        public Form1()
        {
            InitializeComponent();

            // Initialize stuff
            m_pValueList = new List<Kettler_X7_Lib.Objects.Value>();
            m_pKettlerX7 = new Kettler_X7_Lib.Classes.Kettler_X7();
            m_pNetworkClient = new Kettler_X7_Lib.Networking.Client();
            m_pData = new Classes.Data(m_pNetworkClient);
            m_bEasterEggEnabled = true;
        }
Esempio n. 3
0
 public Wingate(string name, Form1 main, Kettler_X7_Lib.Networking.Client newNetworkClient)
 {
     form = new WingateWeightAndStart(this);
     buttonPressed = false;
     networkClient = newNetworkClient;
     mainForm = main;
     bike = mainForm.getBike();
     if (bike != null) bikeConnected = true;
     patientName = name;
     timeIt();
     test("waiting");
 }