Read and write demand categories names

Fixes #290
This commit is contained in:
Elad Salomons
2018-09-22 11:19:05 +03:00
parent 054c48c48a
commit cc21b55b68
3 changed files with 8 additions and 4 deletions

View File

@@ -359,9 +359,10 @@ typedef struct /* Coord OBJECT */
struct Sdemand /* DEMAND CATEGORY OBJECT */
{
double Base; /* Baseline demand */
int Pat; /* Pattern index */
struct Sdemand *next; /* Next record */
double Base; /* Baseline demand */
int Pat; /* Pattern index */
char Name[MAXMSG+1]; /* Demand category name */
struct Sdemand *next; /* Next record */
};
typedef struct Sdemand *Pdemand; /* Pointer to demand object */