Skip to content

Navigation Menu

Sign in
Sign up

PlcProgram.Browse solution is not the most user-friendly right now #18

KircMax started this conversation in Ideas
Discussion options

In development we have had the little conflict that we didn't want to do stuff the user wouldn't expect a function to do.
BUT not setting the Parent (and the parents parents) in the PlcProgram.Browse makes the browsed resources "not browsable" therefore maybe this should be changed...

You must be logged in to vote

Replies: 3 comments

Comment options

KircMax
Mar 22, 2022
Maintainer Author

Only set the Parents when ApiPlcProgramData is provided as parameter:
ApiPlcProgramData

  • Pain point: ApiPlcProgramData will be set differently in different functions
You must be logged in to vote
0 replies
Comment options

KircMax
Mar 22, 2022
Maintainer Author

Generally create new ApiPlcProgramData parents from the string:
image

  • Pain point: ApiPlcProgramData will only contain the name of the parent (always!)
You must be logged in to vote
0 replies
Comment options

KircMax
Mar 22, 2022
Maintainer Author

Generally doing this would be bad since Arrays need special consideration and this would lead to a "basic method" doing way more than it should be doing, therefore keep functionality like this in specific handlers => ApiPlcProgramHandler:
image

  • PlcProgram.Browse cannot be performed on childrens that have been browsed by default after PlcProgram.Browse call
You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Ideas
Labels
None yet
1 participant
Converted from issue

This discussion was converted from issue #17 on March 22, 2022 14:31.

AltStyle によって変換されたページ (->オリジナル) /