-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug] Missing support to DT/LDT Atomic type #33
Comments
Thanks. I'll look into adding support for it. |
I started to create a DT class from ULINT if can help you :) namespace L5Sharp.Core; /// /// Represents a DT Logix atomic data type, or a type analogous to a . /// public sealed class DT : AtomicData, IComparable, IConvertible, ILogixParsable { /// /// The underlying primitive value which is set upon construction and not changed. /// private readonly DateTime _value;
}` |
Do you want to submit a PR? |
Yep, i will review more deeply the code and i submit the PR 👍🏼 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When I try to import my L5X file, the DataType read process throws me this exception:
The name 'DT' does not represent a known L5Sharp.Core.AtomicData type.
at L5Sharp.Core.AtomicData.Parse(String name, String value)
at L5Sharp.Core.LogixSerializer.DeserializeAtomic(XElement element)
at L5Sharp.Core.LogixSerializer.DeserializeData(XElement element)
at L5Sharp.Core.LogixSerializer.Deserialize(XElement element)
at L5Sharp.Core.LogixSerializer.Deserialize[TElement](XElement element)
at L5Sharp.Core.LogixElement.GetData()
at L5Sharp.Core.Member.GetData()
at L5Sharp.Core.Member.get_Value()
at L5Sharp.Core.Tag.get_Value()
at L5Sharp.Core.Tag.get_DataType()
I Checked at source code and missing this type definition. From Logix DT is Date/Time format and basically is a Unsigned integer 64 bits

The text was updated successfully, but these errors were encountered: