Me and other gents on forum are happy to support you, if we can. But sorry, at the moment too many things are unclear to me. I would strongly recommend that you revise the text to make your points clear / understandable.
[ I assume that you may not have English as your mother tongue. If that is the case, I recommend you to use www.deepl.com as a translator, the translations are in many cases much better than those from e.g. google. But I recommend to review them to be on the safe side. ]
Please also describe the use case / background, so that people can better understand your demand / issue.
If you think you trapped a bug or issue, please describe exactly how this can be reproduced with the least amount of steps/efforts.
I had difficulties with the word "programmatic" alone. I think you just choosed the wrong word.
Furthermore, I suspect that you are simply not familiar with some basic principles of operation. But its just an impression, because all is not clear.
If you want a solution, then the problem or requirement must first be described in an understandable way and what the whole thing is good for.
Regarding gain settings (reference levels, input gain, output volume). As described in the manual, the reference levels can be set in the driver settings and in TotalMix FX (click on the tool symbol of a channel). Not everything in this device can be operated at the UC in stand-alone mode. But it has memory to remember last changes. See manual ch 21, standalone operation.
After all, settings are saved
a) on the PC: last operational state and in TM FX workspaces
b) on the device which has memory to store the last settings, useful for stand-alone operation
If you need a device which can be operated fully on the front / in stand-alone mode, then you need devices like UCX II, UFX II, UFX+. They are designed to have this capability. Also consider, the UC is a quite old unit from 2009. At that time you could already be happy that someting good like TotalMix FX was there. All other vendors didn't have something compareable. And this is still the case in 2022. TotalMix FX is still superior.
In this blog article I provide an Excel where you can compare the different recording interfaces for USB/Firewire/TB:
The blog article: https://www.tonstudio-forum.de/blog/Ent … B-MADIfac/
The direct link to the Excel: https://www.tonstudio-forum.de/attachme … 4-08-xlsx/
In the Excel you can see e.g. in line 81-83 what features the device has in regards to stand-alone operation.
UFX+, 12Mic, XTC, ADI-2 Pro FS R BE, RayDAT, X10SRi-F, E5-1650v4, Win10Pro21H2, Cub12Pro