Skip to content

Commit 22ea54f

Browse files
committed
tutorial setup refreshed
1 parent 524e2bf commit 22ea54f

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

articles/digital-twins/quickstart-view-occupancy-dotnet.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ The Azure Digital Twins service allows you to re-create a digital image of your
1919

2020
This quickstart uses [a pair of .NET samples](https://github.com/Azure-Samples/digital-twins-samples-csharp) to digitize an imaginary office building. It shows you how to find available rooms in that building. With Digital Twins, you can associate many sensors with your environment. You also can find out if the air quality of your available room is optimal with the help of a simulated sensor for carbon dioxide. One of the sample applications generates random sensor data to help you visualize this scenario.
2121

22-
The following video summarizes quickstart setup:
22+
The following video summarizes the quickstart setup:
2323

2424
>[!VIDEO https://www.youtube.com/embed/1izK266tbMI]
2525

articles/digital-twins/tutorial-facilities-setup.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ manager: bertvanhoof
88
ms.custom: seodec18
99
ms.service: digital-twins
1010
ms.topic: tutorial
11-
ms.date: 11/12/2019
11+
ms.date: 01/10/2020
1212
#Customer intent: As an Azure IoT developer, I want to walk through a sample application to learn how to use the features of Digital Twins to create a spatially aware intelligent IoT solution.
1313
---
1414

@@ -125,7 +125,6 @@ public static async Task<IEnumerable<ProvisionResults.Space>> ProvisionSample(Ht
125125
126126
return results;
127127
}
128-
129128
```
130129

131130
This function uses [provisionSample.yaml](https://github.com/Azure-Samples/digital-twins-samples-csharp/blob/master/occupancy-quickstart/src/actions/provisionSample.yaml) in the same folder. Open this file, and note the hierarchy of an office building: *Venue*, *Floor*, *Area*, and *Rooms*. Any of these physical spaces can contain *devices* and *sensors*. Each entry has a predefined `type`&mdash;for example, Floor, Room.
@@ -146,7 +145,7 @@ The **provisionSample.yaml** file contains the following nodes:
146145

147146
- **devices**: Spaces can contain `devices`, which are physical or virtual entities that manage a number of sensors. For example, a device might be a user’s phone, a Raspberry Pi sensor pod, or a gateway. In the imaginary building in your sample, note how the room named **Focus Room** contains a **Raspberry Pi 3 A1** device. Each device node is identified by a unique `hardwareId`, which is hardcoded in the sample. To configure this sample for an actual production, replace these with values from your setup.
148147

149-
- **sensors**: A device can contain multiple `sensors`. They can detect and record physical changes like temperature, motion, and battery level. Each sensor node is uniquely identified by a `hardwareId`, hardcoded here. For an actual application, replace these by using the unique identifiers of the sensors in your setup. The provisionSample.yaml file has two sensors to record *Motion* and *CarbonDioxide*. Add another sensor to record *Temperature*, by adding the following lines, below the lines for the CarbonDioxide sensor. Note that these are provided in provisionSample.yaml as commented-out lines. You can uncomment them by removing the `#` character in the front of each line.
148+
- **sensors**: A device can contain multiple `sensors`. They can detect and record physical changes like temperature, motion, and battery level. Each sensor node is uniquely identified by a `hardwareId`, hardcoded here. For an actual application, replace these by using the unique identifiers of the sensors in your setup. The provisionSample.yaml file has two sensors to record *Motion* and *CarbonDioxide*. Add another sensor to record *Temperature*, by adding the following lines, below the lines for the CarbonDioxide sensor. These are provided in provisionSample.yaml as commented-out lines. You can uncomment them by removing the `#` character in the front of each line.
150149

151150
```yaml
152151
- dataType: Temperature

0 commit comments

Comments
 (0)