Code Monkey home page Code Monkey logo

Comments (10)

oroulet avatar oroulet commented on August 19, 2024 1

OK, HasModellingRule is a type reference and reference editor is not implemented yet. But this is very high on my todo list. Should have a look..

from opcua-modeler.

oroulet avatar oroulet commented on August 19, 2024

from opcua-modeler.

zerox1212 avatar zerox1212 commented on August 19, 2024

I also do not know how to use ModellingRule. If you can explain we can probably add it.

from opcua-modeler.

yealfor avatar yealfor commented on August 19, 2024

This is a variant which can be implemented in address space:
"<UAVariable BrowseName="1:State" DataType="Float" NodeId="ns=1;i=2008" ParentNodeId="ns=1;i=2005">
<DisplayName>State<\DisplayName>
<Description>State<\Description>
<References>
<Reference IsForward="false" ReferenceType="HasComponent">ns=1;i=2005<\Reference>
<Reference ReferenceType="HasModellingRule">i=78<\Reference>
<Reference ReferenceType="HasTypeDefinition">i=63<\Reference>
<\References>
<Value>
uax:Float\9.99<\uax:Float>
<\Value>
<\UAVariable>"
where the reference(<Reference ReferenceType="HasModellingRule">i=78<\Reference>) can't be added in free uamodeler.
As I know, the ModellingRule includes Mandatory and Optional at least. If the ModellingRule of a variant is not Mandatory, the address space may not implement it, but there is a need to implement that variant.

from opcua-modeler.

zerox1212 avatar zerox1212 commented on August 19, 2024

Do you have anything started with this? If you have some code already I might have time to help out with this.

from opcua-modeler.

oroulet avatar oroulet commented on August 19, 2024

I have a lot of copy paste code. I need to make the basic work, then I can publish for testing/improvement

from opcua-modeler.

oroulet avatar oroulet commented on August 19, 2024

started work here. FreeOpcUa/opcua-widgets#8
not finished. I am not sure how to modify a reference. Looks like I need to delete and rewrite it

from opcua-modeler.

zerox1212 avatar zerox1212 commented on August 19, 2024

I'll take a look at it.

from opcua-modeler.

oroulet avatar oroulet commented on August 19, 2024

ready for testing now. I have not tested much myself, but it should work. suggestions to improve and PR are welcome

from opcua-modeler.

oroulet avatar oroulet commented on August 19, 2024

and merged to master. So now it is easy to test

from opcua-modeler.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.