Untitled

 avatar
unknown
csharp
2 years ago
858 B
3
Indexable
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;
                            }
                        }
Editor is loading...