Assign to interface input inside Class

In reply to Junior:

Please use code tags. I have added them for you.

When you state “don’t work”, what do you mean? Do you get a compilation error? Runtime error? Are the results not what you expect?

It would be beneficial to provide a complete example demonstrating your problem.

One thing to check is that your types agree between ‘temp’ and ‘bus’.