Skip to main content

Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Vorto / Describing Devices / Information Models

Information Models are descriptions of real-world devices. Vorto provides a DSL that allows for easily creating such Information Models. The examples below show how the DSL looks like:

Example: Color Lamp

namespace vorto.examples.infomodels
version 1.0.0
using vorto.examples.functionblocks.Dimmer; 1.0.0
using vorto.examples.functionblocks.RGBColorPicker; 1.0.0
using vorto.examples.functionblocks.Switch; 1.0.0

infomodel Color_Lamp { 
    displayname "PhilipsHue_LivingColorBloom"
    description "Information model for the Living Color Bloom Device from Philips"
    category example
    
    functionblocks {
        Dimmer
        RGBColorPicker
        Switch
    }
}

Back to the top