Difference between revisions of "CameraLink"

From HSYCO
Jump to navigation Jump to search
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
{{UI Object Header}}
 
{{UI Object Header}}
[[Category:INCOMPLETE]]
+
A button, graphically identical to [[link]], that controls the address of a [[camera]] or [[camerapanel]] object.
A button, graphically identical to [[link]], to access the view and control page of a single camera or a grid of cameras..
 
 
 
If the button object is connected to a device or light that allows it, a long press on the button will open a [[popup]] with a [[slider]]. A second long press will close the [[popup]].
 
If specified on [[systemtopo.txt]], it will show a thumbnail on mouse over or touch.
 
  
 
== Parameters ==
 
== Parameters ==
*'''address''': device data point name
+
*'''address''': the name of the camera, as in the Cameras parameter in hsyco.ini, or the name of a camera grid, defined as gridN, where N is the grid number assigned in hsyco.ini
*'''position''': the object's position. Use the pixels or rows and columns coordinates format
+
{{UI Object Parameter (position)}}
 +
*'''color''': button color, see color attribute for possible values
 
*'''label''': the text label on the button. Can contain HTML tags
 
*'''label''': the text label on the button. Can contain HTML tags
 +
*'''destination panel id''': optional. If set to a panel id, will show the camera on that camera panel
  
 
== Syntax ==
 
== Syntax ==
  (button <address>; <position>; <label>)
+
  (cameralink <address>; <position>; <color>; <label>; <destination panel id>)
Eg.
+
E.g.
  (button autom.1; x10y20; Front Door)
+
  (cameralink kitchen; x20y20; gr; Kitchen; campanel1)
  
 
== UI Attributes ==
 
== UI Attributes ==
 
{{:UI Object Attributes (Common)}}
 
{{:UI Object Attributes (Common)}}
{{:UI Object Attributes (Label)}}
 

Latest revision as of 11:35, 22 January 2014

Note  For a description and a complete list of UI Objects, see UI Objects.

A button, graphically identical to link, that controls the address of a camera or camerapanel object.

Parameters

  • address: the name of the camera, as in the Cameras parameter in hsyco.ini, or the name of a camera grid, defined as gridN, where N is the grid number assigned in hsyco.ini
  • position: the object's position. Use the pixels or rows and columns coordinates format
  • color: button color, see color attribute for possible values
  • label: the text label on the button. Can contain HTML tags
  • destination panel id: optional. If set to a panel id, will show the camera on that camera panel

Syntax

(cameralink <address>; <position>; <color>; <label>; <destination panel id>)

E.g.

(cameralink kitchen; x20y20; gr; Kitchen; campanel1)

UI Attributes

UI Object Attributes (Common)