<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet href="../../../design/description.xslt" type="text/xsl"?>
<node lang="en" type="DynamicNode.Lib.Cockpit.NNumeric" assembly="NLibCockpit" xmlns="http://dynamicnodes.mastersign.de/description">
  <caption>Number</caption>
  <group>Cockpit</group>
  <description>Represents a control in the cockpit for the input of a numeric value.</description>
  <inPorts>
    <port name="name">
      <type>string</type>
      <description>The name of the control.</description>
    </port>
    <port name="autoPublish">
      <type>bool</type>
      <description>
        <c>true</c> if the node passes the current value immediatly with every change; otherwise <c>false</c>.
      </description>
    </port>
    <port name="style">
      <type>NumericStyle</type>
      <description>The style of the user control: e.g. text box or slider.</description>
    </port>
    <port name="min">
      <type>double</type>
      <description>THe smallest allowed value.</description>
    </port>
    <port name="max">
      <type>double</type>
      <description>The largest allowed value.</description>
    </port>
    <port name="decimalPlaces">
      <type>byte</type>
      <description>The number of decimal places.</description>
    </port>
  </inPorts>
  <outPorts>
    <port name="value">
      <type>double</type>
      <description>The numeric value the user specified.</description>
    </port>
  </outPorts>
  <helpText>
    <p>This node represents a user control for specifying a number by the user.</p>
    <p>
      The cockpit is a collection of user controls managed by the DynamicNodes system
      and presented e.g. as a view port in the development environment or via a web interface.
    </p>
  </helpText>
  <customArea>The name of the user control.</customArea>
</node>