> For the complete documentation index, see [llms.txt](https://wfsys.gitbook.io/workflow-forms-syntax/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://wfsys.gitbook.io/workflow-forms-syntax/workflow_forms/objects/stopwatch.md).

# Stopwatch

## Шаблон Stopwatch <a href="#template" id="template"></a>

Не имеет вложенных тэгов.

```xml
<MyObject Name="Stopwatch" Type="Stopwatch" Assembly="SimpleControls" />
```

## Описание Stopwatch <a href="#description" id="description"></a>

```xml
<MyObject Name="Stopwatch" Type="Stopwatch" Assembly="SimpleControls" />
```

Значением Stopwatch считается интервал работы секундомера с момента старта (set-проперти [Start](#set_start)) до остановки (set-проперти [Stop](#set_stop)).

### Получение значения <a href="#get-value" id="get-value"></a>

Для получения интервала работы секундомера используется get-проперти [Value](#get_value):

```xml
<Object Name="Stopwatch">
  <Property Name="Value" />
</Object>
```

Рекомендуется использовать сокращенный вариант записи:

```xml
<Object Name="Stopwatch" />
```

### Задание значения <a href="#set-value" id="set-value"></a>

Не имеет set-проперти для задания значения.

## Get-проперти для получения свойств <a href="#get-properties" id="get-properties"></a>

### Value <a href="#get_value" id="get_value"></a>

Возвращает интервал (в миллисекундах) работы секундомера.

```xml
<Object Name="Stopwatch">
  <Property Name="Value" />
</Object>
```

## Set-проперти для динамического задания свойств <a href="#set-properties" id="set-properties"></a>

### Start <a href="#set_start" id="set_start"></a>

Запускает секундомер.

Значение тэга `<Property>` не ожидается.

```xml
<Object Name="Stopwatch">
  <Property Name="Start" />
</Object>
```

### Stop <a href="#set_stop" id="set_stop"></a>

Останавливает секундомер.

Значение тэга `<Property>` не ожидается.

```xml
<Object Name="Stopwatch">
  <Property Name="Stop" />
</Object>
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://wfsys.gitbook.io/workflow-forms-syntax/workflow_forms/objects/stopwatch.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
