StartProgramForScanHardware() публичный Метод

public StartProgramForScanHardware ( int deviceId, uint inputnodeid, string identifier_type ) : void
deviceId int
inputnodeid uint
identifier_type string
Результат void
        public void ReadDataFromDeviceForTemperature(int deviceID, uint temp_panID, string param1_identifier_type)
        {
            //lets do some operation regarding the pannel id and stuff

            //then perform this task 
            try
            {
                uint panID_1 = temp_panID;//0; //uint.Parse(panelID1);

                // uint panID_2 = hum_panID;//1;//uint.Parse(panelID2);
                BACnetClass b = new BACnetClass();

                //for temperature value
                b.StartProgramForScanHardware(deviceID, panID_1, param1_identifier_type);
                double temperary1 = double.Parse(b.PresentValueFromBacnet.ToString());
                //tb_temp_panel_value.Text = temp;
                //For humidity value
                //  b.StartProgramForScanHardware(deviceID, panID_2, param2_identifier_type);
                //double temperary2 = double.Parse(b.PresentValueFromBacnet.ToString());
                //tb_hum_panel_value.Text = humidity;
                hardwareValue1 = temperary1;  //--This one is temperature 
                                              // hardwareValue2 = temperary2;
                                              //lets store these two values in a temporary list

            }
            catch (Exception ex)
            {
                MessageBox.Show(ex.Message);

            }

        }