Closed yasodakrishnav closed 4 months ago
I have not read spec since a while, hence I just guess that default value might be something which apply to situations when you miss a schedule entry for a given day (lets say Sunday). If you have a schedule for a given day the last time value defines what "rest of the day" might be. Was you able to read null value for time value in daily schedule?
NULL shall be allowed to configure in the value (time-value) of Daily Schedule, Exception Schedule and Schedule Default irrespective of whether the Schedule is of BinaryPV, or Real or Unsigned etc type.
Yeah they should allow null value, However, in the ScheduleObject.java class, at line number 190, the time-value class should align with the default value class.
I have not read spec since a while, hence I just guess that default value might be something which apply to situations when you miss a schedule entry for a given day (lets say Sunday). If you have a schedule for a given day the last time value defines what "rest of the day" might be. Was you able to read null value for time value in daily schedule?
The main reason for setting null values in the daily schedule is to ensure that if we set a null value for a specific priority in the daily schedule, the corresponding present value will revert to the default value.
Hey Team,
I have created a schedule object using bacnet4j library in java. Like below
Now the question is, I want set the null after Time(19, 0, 0, 0) on monday like below, but i couldn't able to do that, because i'm getting the error saying class=property, code=invalid-data-type at com.serotonin.bacnet4j.obj.ScheduleObject.validateProperty(ScheduleObject.java:191)
I want to set null value on Time(20, 0, 0, 0), because i want the default value to set it as present value.
Thanks