Add a new time pattern
ENaddpattern(patternid)
patternid
the ID name of the pattern to add.
The new pattern contains a single time period whose factor is 1.0.
invisible NULL