Add EN_STARTTIME to EN_settimeparam function

This commit is contained in:
Lew Rossman
2020-11-08 10:10:16 -05:00
parent 9b5a056e3a
commit b6eddc07fa
2 changed files with 8 additions and 1 deletions

View File

@@ -7,7 +7,7 @@
Authors: see AUTHORS
Copyright: see AUTHORS
License: see LICENSE
Last Updated: 02/01/2020
Last Updated: 11/08/2020
******************************************************************************
*/
@@ -1583,6 +1583,11 @@ int DLLEXPORT EN_settimeparam(EN_Project p, int param, long value)
rpt->Tstatflag = (char)value;
break;
case EN_STARTTIME:
if (value > 86400) return 213;
time->Tstart = value;
break;
case EN_HTIME:
time->Htime = value;
break;