Skip to content

Commit

Permalink
Add connection string to DeviceNode to compatible with edge extension (
Browse files Browse the repository at this point in the history
…#267)

* Add connection string to DeviceNode to compatible with edge extension

* Update version
  • Loading branch information
SLdragon authored Jan 31, 2019
1 parent 905ca75 commit 5759ee8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "azure-iot-toolkit",
"displayName": "Azure IoT Hub Toolkit",
"description": "Interact with Azure IoT Hub, IoT Device Management, IoT Edge Management, IoT Hub Device Simulation, IoT Hub Code Generation",
"version": "2.3.0-rc5",
"version": "2.3.0-rc6",
"publisher": "vsciot-vscode",
"aiKey": "0caaff90-cc1c-4def-b64c-3ef33615bc9b",
"icon": "logo.png",
Expand Down
2 changes: 2 additions & 0 deletions src/Nodes/DeviceNode.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,10 @@ import { ModuleLabelNode } from "./ModuleLabelNode";

export class DeviceNode implements INode {
public readonly deviceId: string;
public readonly connectionString: string;
constructor(public deviceItem: DeviceItem) {
this.deviceId = deviceItem.deviceId;
this.connectionString = deviceItem.connectionString;
}

public getTreeItem(): vscode.TreeItem {
Expand Down

0 comments on commit 5759ee8

Please sign in to comment.