The GXDateTime constructor uses the DateTimeExtraInfo values of DstBegin and DstEnd, but the values of LastDay and LastDay2 are not used. After reading the GXDLMSActionSchedule object with an attribute value of 4, these parameters are also not written to Extra.
Project
Status
Closed (fixed)
Priority
Major
Category
Bug report
Function "Write" in object "GXDLMSReader" used function "GetValue" in object "GXDLMSActionSchedule". In that function for convert data to byte[] used "GXCommon.SetData", where create objects "GXTime" and "GXData". "GXData" constructor take in argument "GXDataTime", but this constructor use base constructor, where argument for that constructor is "DateTime", and "Extra" property is missing. In result property "LastDay" don't set for write, and this property also don't seting when read data. Please repair this problem.
GXDateTime don't use Extra LastDay
Hello,
This is now fixed.
http://www.gurux.fi/node/14076
Get the latest version.
Hello,
Function "Write" in object "GXDLMSReader" working with value "DateTimeExtraInfo.LastDay" and "DateTimeExtraInfo.LastDay2" correct, but function "Read" in object "GXDLMSReader" using function "SetValue" in object "GXDLMSActionSchedule" with error. In this function created object "GXDateTime" with date and adding time offsets. After create this object property "Extra" is missing, and result don't have "Extra" property.
Please fix this problem and thanks for operative work.
GXDateTime don't use Extra LastDay
Hi,
There is version 9.0.1911.2901 where this is fixed.
DateTime.ToFormatString is improved.
Date time format here is MM/DD/YYYY
*/-1/* *:*:00 Last day of the month
*/-2/* *:*:15 Second last day of the month.
BEGIN/*/* *:*:00 DST begin
END/*/* *:*:00 DST end
BR,
Mikko