Skip to content
Snippets Groups Projects
Select Git revision
  • main
  • tags/schemas-0.4
  • tags/schemas-0.5
  • tags/schemas-0.6
  • tags/schemas-0.1
  • tags/schemas-0.2
  • tags/schemas-0.3
7 results

shutter.position

Blame
  • user avatar
    jkerdreu authored
    
    git-svn-id: https://redmine.imt-atlantique.fr/svn/xaal/schemas/branches/schemas-0.7@2454 b32b6428-25c9-4566-ad07-03861ab6144f
    e94a799d
    History
    shutter.position 1.47 KiB
    {
      "title": "shutter.position",
      "description": "Shutter with a position managment",
      "lang": "en",
      "documentation": "http://recherche.imt-atlantique.fr/xaal/documentation/",
      "ref": "http://recherche.imt-atlantique.fr/xaal/documentation/shutter.position",
      "license": "Copyright Christophe Lohr IMT Atlantique 2019 - Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved. This file is offered as-is, without any warranty.",
      "extends": "shutter.basic",
      "attributes": { "position":"position_t" },
      "methods": {
        "get_attributes": {
          "description": "Return attributes of the device",
          "in": { "attributes":"attributes_t" },
          "out": { "action":"action_t", "position":"position_t" }
        },
        "set_position": {
          "description": "Change the position of the shutter",
          "in": { "position":"position_t" },
          "related_attributes": [ "action", "position" ]
        }
      },
      "notifications": {
        "attributes_change": {
          "description": "Report attributes that have changed",
          "out": { "action":"action_t", "position":"position_t" }
        }
      },
      "datamodel": {
        "position_t": {
          "description": "Level of aperture of the shutter",
          "unit": "%",
          "type": "data = (0..100) / (0.0..100.0)"
        },
        "attributes_t": {
          "description": "List of wanted attributes",
          "type": "data = [ ? \"action\", ? \"position\" ]"
        }
      }
    }