From 5759ee802b8f1c53c7930a9fec1252840d43d644 Mon Sep 17 00:00:00 2001 From: Renlong Tu <5545529+SLdragon@users.noreply.github.com> Date: Thu, 31 Jan 2019 15:50:20 +0800 Subject: [PATCH] Add connection string to DeviceNode to compatible with edge extension (#267) * Add connection string to DeviceNode to compatible with edge extension * Update version --- package.json | 2 +- src/Nodes/DeviceNode.ts | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 05f8b68d..0241ea90 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/src/Nodes/DeviceNode.ts b/src/Nodes/DeviceNode.ts index 2d000dde..4bf98d6d 100644 --- a/src/Nodes/DeviceNode.ts +++ b/src/Nodes/DeviceNode.ts @@ -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 {