Skip to main content
Home
for DLMS smart meters
Open source solutions for DLMS smart metering

Main navigation

  • Home
  • Products
  • About us
  • Open Source
  • Community
  • Forum
  • Downloads
User account menu
  • Log in

Breadcrumb

  1. Home
  2. Forums
  3. There Is a Duplicate Value In The Enums.ObjectType

There is a duplicate value in the enums.ObjectType

Forum Rules

Before commenting read Forum rules

Don't comment the topic if you have a new question.

You can create a new topic selecting correct category from Gurux Forum and then create a new topic selecting "New Topic" from the top left.

Profile picture for user mohammadreza.khalilzadeh
By mohammadreza.k… , 26 November, 2022
Forums
Gurux.Net

Hi!
There seems to be a problem with the "Gurux.DLMS.Net.enums.ObjectType".
There is a duplicate value in the "Gurux.DLMS.Net.enums.ObjectType".

The value is :
[XmlEnum("115")]
Token = 115,

This value does not exist in python and java.

Thanks a lot.

Image
Profile picture for user Kurumi

Kurumi

3 years 10 months ago

Hi,

Hi,

This is correct. XmlEnum is used to save value as an integer value, instead of an enumerated name.

BR,
Mikko

  • Create new account
  • Reset your password

Hire Us!

Latest Releases

  • Tue, 09/22/2026 - 14:02
    Gurux.DLMS.Net 9.0.2609.2201
  • Mon, 09/21/2026 - 10:18
    Gurux.DLMS.Net 9.0.2609.2101
  • Wed, 08/26/2026 - 09:04
    Gurux.DLMS.Python 1.0.203
  • Mon, 08/17/2026 - 11:28
    Gurux.DLMS.Python 1.0.202
  • Mon, 08/17/2026 - 09:47
    gurux.dlms.cpp 9.0.2608.1701

New forum topics

  • Inhemeter
  • DLMS Server - Profile Generic - can't add too many items to profile generic capture object - how to set maximum profile entries
  • HDLC Frames sequencing
  • Security vulnerability report — request for a private contact (GuruxDLMS.c / ANSI C)
  • Topic: Insufficient Memory Error When Reading Class 7 Profile Generic Objects
More

Who's new

  • Pedro Maia
  • Simatwa
  • Vitor Pinto
  • Chetan D
  • Chetan Devre
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin