- From: Max Froumentin via cvs-syncmail <cvsmail@w3.org>
- Date: Wed, 06 Jan 2010 13:07:44 +0000
- To: public-dap-commits@w3.org
Update of /sources/public/2009/dap/system-info In directory hutz:/tmp/cvs-serv19168 Modified Files: Overview.html Log Message: - unsigned int doesn't exist - use seconds for timeRemaining - issue about reporting each power source - Celcius -> Celsius Index: Overview.html =================================================================== RCS file: /sources/public/2009/dap/system-info/Overview.html,v retrieving revision 1.53 retrieving revision 1.54 diff -u -d -r1.53 -r1.54 --- Overview.html 5 Jan 2010 10:30:20 -0000 1.53 +++ Overview.html 6 Jan 2010 13:07:42 -0000 1.54 @@ -365,7 +365,7 @@ <section> <h2>The <a>Options</a> interface</h2> <dl title="[NoInterfaceObject] interface Options" class="idl"> - <dt>attribute unsigned int timeout</dt> + <dt>attribute unsigned long timeout</dt> <dd>The number of milliseconds beyond which the operation must be interrupted and the <a>cancel</a> method of @@ -452,9 +452,9 @@ monitor this property applies to this attribute. </dd> - <dt>readonly attribute unsigned int? timeRemaining</dt> + <dt>readonly attribute unsigned long? timeRemaining</dt> <dd> - Represents the estimated time remaining in milliseconds + Represents the estimated time remaining in seconds before the system enters shutdown mode. If <a>usingExternalPowerSource</a> is <code>true</code>, this value MUST be <code>null</code>, meaning that there is @@ -474,6 +474,8 @@ </dl> </section> + <p class="issue">Do we need to enumerate power sources? See <a href="http://www.w3.org/mid/5AD14335-0471-45AF-95B1-FA114BF639F7@w3.org">discussion</a></p> + <section> <h4>The <a>PowerSource</a> Property</h4> <p>This property describes the state of a single power source connected to the system. It is <a>enumerable</a>.</p> @@ -501,8 +503,8 @@ <dt>readonly attribute float? charge</dt> <dd>If this source has <code>type</code> set to <code>EXTERNAL</code> then this value MUST be <code>null</code>, otherwise it MUST indicate how much of the battery capacity is left, on a range of 0 to this battery's <a>capacity</a> value, in ampere-hours.</dd> - <dt>readonly attribute unsigned int? timeRemaining</dt> - <dd>If this source has <code>type</code> set to <code>EXTERNAL</code> then this value MUST be <code>null</code>, otherwise if this source is charging, this value MUST reflect the estimated time in milliseconds until the battery's <code>charge</code> reaches its <a>capacity</a>. If this source is not charging then this value MUST reflect the estimated time in milliseconds until the battery's <code>charge</code> reaches 0.</dd> + <dt>readonly attribute unsigned long? timeRemaining</dt> + <dd>If this source has <code>type</code> set to <code>EXTERNAL</code> then this value MUST be <code>null</code>, otherwise if this source is charging, this value MUST reflect the estimated time in seconds until the battery's <code>charge</code> reaches its <a>capacity</a>. If this source is not charging then this value MUST reflect the estimated time in seconds until the battery's <code>charge</code> reaches 0.</dd> <dt>readonly attribute float? capacity</dt> <dd>If this source has <code>type</code> set to <code>EXTERNAL</code> then this value MUST be <code>null</code>, otherwise it MUST reflect this battery's capacity, expressed in ampere-hours</dd> @@ -625,11 +627,11 @@ <dl title="[NoInterfaceObject] interface Thermometer : SystemDevice" class="idl"> <dt>readonly attribute float currentTemperature</dt> - <dd>This thermometer's current temperature, in degrees Celcius (°C)</dd> + <dd>This thermometer's current temperature, in degrees Celsius (°C)</dd> <dt>readonly attribute float maxTemperature</dt> - <dd>The maximum temperature that this device can report, in degrees Celcius (°C)</dd>. + <dd>The maximum temperature that this device can report, in degrees Celsius (°C)</dd>. <dt>readonly attribute float minTemperature</dt> - <dd>The minimum temperature that this device can report, in degrees Celcius (°C)</dd>. + <dd>The minimum temperature that this device can report, in degrees Celsius (°C)</dd>. </dl> </section> </section> @@ -742,12 +744,12 @@ <p>This property provides information on the system's connection to the network</p> <dl title='[NoInterfaceObject] interface Network' class='idl'> - <dt>readonly attribute unsigned int currentDownloadBandwidth</dt> + <dt>readonly attribute unsigned long currentDownloadBandwidth</dt> <dd> This current download bandwidth, in Kbits/s. </dd> - <dt>readonly attribute unsigned int currentUploadBandwidth</dt> + <dt>readonly attribute unsigned long currentUploadBandwidth</dt> <dd> This current upload bandwidth, in Kbits/s. </dd> @@ -824,22 +826,25 @@ <dt>readonly attribute unsigned short type</dt> <dd>This attribute indicates the network technology in use on a network.</dd> - <dt>readonly attribute unsigned int minDownloadBandwidth</dt> + <dt>readonly attribute unsigned long minDownloadBandwidth</dt> <dd>This property represents the min download bandwidth offered by a network bearer measured in Kbits/s.</dd> - <dt>readonly attribute unsigned int minUploadBandwidth</dt> + <dt>readonly attribute unsigned long minUploadBandwidth</dt> <dd>This property represents the min upload bandwidth offered by a network bearer measured in Kbits/s.</dd> - <dt>readonly attribute unsigned int maxDownloadBandwidth</dt> + <dt>readonly attribute unsigned long maxDownloadBandwidth</dt> <dd>This property represents the max download bandwidth offered by a network bearer measured in Kbits/s.</dd> - <dt>readonly attribute unsigned int maxUploadBandwidth</dt> + <dt>readonly attribute unsigned long maxUploadBandwidth</dt> <dd>This property represents the max upload bandwidth offered by a network bearer measured in Kbits/s.</dd> <dt>readonly attribute float? currentSignalStrength</dt> <dd>This connection's signal strength. This value MUST be <code>null</code> if this connection is wired.</dd> + <dt>readonly attribute DOMString macAddress</dt> + <dd>The <abbr title="Media Access Control">MAC</abbr> address of this connection. The format of this string MUST be the standard notation for MAC addresses: six groups of two hexadecimal digits, separated by colons (:), e.g. 01:23:45:67:89:ab [[!IEEE802-3]]</dd> + <dt>readonly attribute DOMString? ipAddress</dt> <dd> The IP Address assigned to the device by the network bearer. An implementation @@ -959,7 +964,7 @@ <dl title="[NoInterfaceObject] interface AmbientTemperature" class="idl"> <dt>readonly attribute float value</dt> - <dd>This thermometer's current temperature, in degrees Celcius (°C)</dd> + <dd>This thermometer's current temperature, in degrees Celsius (°C)</dd> <dt>readonly attribute Thermometer thermometers[]</dt> <dd>The list of all external thermometers connected to this device</dd> </dl> @@ -1166,7 +1171,7 @@ <dd>The type of pointing device. The value is one of the constants defined for this type.</dd> <dt>readonly attribute boolean isReadWrite</dt> <dd><code>true</code> when this device suports software modification, <code>else</code> otherwise.</dd> - <dt>readonly attribute unsigned int capacity</dt> + <dt>readonly attribute unsigned long capacity</dt> <dd>The amount of data that this device can hold, in bytes. A <a>watch</a> operation operating on an object of type <a>StorageUnit</a> must invoke the success callback only when this attribute has changed</dd> <dt>readonly attribute int availableCapacity</dt> <dd>The amount of available data that this device can hold, in bytes</dd> @@ -1225,9 +1230,9 @@ <dd>The current contrast, from 0 to 1</dd> <dt>attribute boolean blanked</dt> <dd><code>true</code> if this display is currently blanked, <code>false</code> otherwise</dd> - <dt>readonly attribute unsigned int dotsPerInchW</dt> + <dt>readonly attribute unsigned long dotsPerInchW</dt> <dd>Resolution of this device, along its width, in dots per inch.</dd> - <dt>readonly attribute unsigned int dotsPerInchH</dt> + <dt>readonly attribute unsigned long dotsPerInchH</dt> <dd>Resolution of this device, along its height, in dots per inch.</dd> <dt>readonly attribute float physicalWidth</dt> <dd>The display's physical width in centimeters</dd> @@ -1262,10 +1267,10 @@ <dd><code>type</code> is set to this value when this device is a set of headphones</dd> <dt>readonly attribute unsigned short type</dt> <dd>The type of audio output device. The value is one of the constants defined for this type.</dd> - <dt>readonly attribute unsigned int freqRangeLow</dt> + <dt>readonly attribute unsigned long freqRangeLow</dt> <dd>Frequency range, low value, in Hz</dd> - <dt>readonly attribute unsigned int freqRangeHigh</dt> + <dt>readonly attribute unsigned long freqRangeHigh</dt> <dd>Frequency range, high value, in Hz</dd> </dl> @@ -1348,7 +1353,7 @@ <dt>readonly attribute boolean hasFlash</dt> <dd><code>true</code> when this device suports has a flash, <code>else</code> otherwise.</dd> - <dt>readonly attribute unsigned int sensorPixels</dt> + <dt>readonly attribute unsigned long sensorPixels</dt> <dd>The number of image sensor elements (pixels) of this camera</dd> <dt>readonly attribute float? maxZoomFactor</dt> @@ -1370,9 +1375,9 @@ <dt>readonly attribute unsigned short type</dt> <dd>The type of audio input device. The value is one of the constants defined for this type.</dd> - <dt>readonly attribute unsigned int freqRangeLow</dt> + <dt>readonly attribute unsigned long freqRangeLow</dt> <dd>Frequency range, low value, in Hz</dd> - <dt>readonly attribute unsigned int freqRangeHigh</dt> + <dt>readonly attribute unsigned long freqRangeHigh</dt> <dd>Frequency range, high value, in Hz</dd> </dl> </section>
Received on Wednesday, 6 January 2010 13:07:45 UTC