Beispiel #1
0
        private static async Task UpdatePlacements(So3ApiConnector connector, Guid layoutPageGuid)
        {
            Console.WriteLine();
            Console.WriteLine("Update symbol reference 2 attribute value parts");
            await connector.UpdateAttributes(
                layoutPageGuid,
                new PlacementsSelector(_symbolReference2.Guid),
                "en-US",
                valueParts : EnvironmentInfo.AttributeValuePartsDescriptiveMultilanguage
                );

            Console.WriteLine();
            Console.WriteLine("Update symbol reference 2 attributes via identification");
            await connector.UpdateAttributes(
                layoutPageGuid,
                new PlacementsSelector(EnvironmentInfo.Identification),
                identification : "==123=XXX+457"
                );
        }
Beispiel #2
0
        private static async Task UpdateConnector(So3ApiConnector connector, Guid layoutPageGuid)
        {
            var connectorReferenceGuid = _symbolReferenceWithConnectors
                                         .Single(x => x.Identification == EnvironmentInfo.IdentificationConnector).Guid;

            Console.WriteLine();
            Console.WriteLine("Update connector");
            await connector.UpdateAttributes(
                layoutPageGuid,
                new PlacementsSelector(connectorReferenceGuid),
                EnvironmentInfo.IdentificationConnectorNew
                );
        }