Need help with Step Witget

EN:
I can not understand how you can make the function of which the values ​​from 2 “Step” widgets will be used.

RU:
Как можно сделать функцию в которой будут использоваться данные из нескольких виджетов “Step”

BLYNK_WRITE(V12)
{
   setroom1 = param.asInt();   
}


//Получение значения установленной диапазона
BLYNK_WRITE(V22)
{
   diapasone = param.asInt(); 

  
}


 void sendSensor() 
{
   ds.requestTemperatures(); 
  komnata1=ds.getTempC(sensor1);
  Blynk.virtualWrite(V5, komnata1);


  if ( komnata1 <= (setroom1+diapasone )) {
digitalWrite(D1, LOW); 
}
else {digitalWrite(D1, HIGH); 
}

}


void setup() {
  Serial.begin(9600);
  ds.begin();
  Blynk.begin(auth, ssid, pass); 
  rtc.begin(); 

pinMode(D1, OUTPUT);  
digitalWrite(D1, HIGH); 



 // Setup a function to be called every second
  timer.setInterval(1000L, sendSensor);
  timer.setInterval(10000L, clockDisplay);
}

void loop()
{
  Blynk.run();
  timer.run();
}

Your existing variables; setroom1 & diapasone will not do anything in other functions, without first setting them as global declarations

https://www.arduino.cc/en/Reference/Scope