Beispiel #1
0
        private void GetEquipment()
        {
            /* SNIPPET 3: START */
            List <MetasysObject> equipment       = client.GetEquipment().ToList();
            MetasysObject        sampleEquipment = equipment.FirstOrDefault();

            Console.WriteLine(sampleEquipment);

            /*
             *   {
             *    "ItemReference": "Win2016-VM2:Win2016-VM2/equipment.vNAE2343947.Field Bus MSTP1.AHU-07",
             *    "Id": "6c6e18b8-015f-572a-814c-1e5d66142850",
             *    "Name": "AHU-07",
             *    "Description": null,
             *    "Type": 3,
             *    "TypeUrl": null,
             *    "Category": null,
             *    "Children": [],
             *    "ChildrenCount": 0
             *  }
             */
            /* SNIPPET 3: END */
        }