Set element parameter by space number

First of all, I apologize for using the wrong wording. There is a link to the issue I tried to solve above. I want to transfer room numbers to the air terminals as you did, but it gets the room numbers from wrong references, I couldn’t understand it because the dynamo you used is not in English, can you send me the code directly?