Untitled

mail@pastecode.io avatar
unknown
csharp
a year ago
858 B
1
Indexable
Never
else if (itemType == "GXDLMSPushSetup" &
                                itemLogicalName == "0.0.25.9.0.255" &
                                spodesObjectCollection[i].AttributePropName.ToString() == "1")
                        {
                            if (spodesObjectCollection[i].Value.ToString() == "TCP")
                            {
                                _pushSetup.Service = ServiceType.Tcp;
                                _pushSetupServiceReserve = ServiceType.Tcp;
                            }
                            else if (spodesObjectCollection[i].Value.ToString() == "UDP")
                            {
                                _pushSetup.Service = ServiceType.Udp;
                                _pushSetupServiceReserve = ServiceType.Udp;
                            }
                        }