-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
207 changed files
with
149,745 additions
and
134,607 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,50 +1,49 @@ | ||
unit MyDSSClassDefs; | ||
unit MyDSSClassDefs; | ||
|
||
{ | ||
---------------------------------------------------------- | ||
Copyright (c) 2008-2021, Electric Power Research Institute, Inc. | ||
All rights reserved. | ||
---------------------------------------------------------- | ||
} | ||
} | ||
{ | ||
Prototype unit for creating custom version of DSS | ||
} | ||
|
||
interface | ||
|
||
|
||
CONST | ||
|
||
MYCLASS_ELEMENT_CONST = 99 * 8; // make unique constants for your classes | ||
// SEE DSSClassDefs.pas | ||
} | ||
|
||
interface | ||
|
||
|
||
const | ||
|
||
MYCLASS_ELEMENT_CONST = 99 * 8; // make unique constants for your classes | ||
// SEE DSSClassDefs.pas | ||
{Assign (typically by adding) this constant to DSSClassType when objects of | ||
your custom class are instantiated. See Tline.Create in Line.Pas, for example} | ||
|
||
Procedure CreateMyDSSClasses; // Called in DSSClassDefs | ||
|
||
implementation | ||
|
||
Uses | ||
DSSClass | ||
{Add Special Uses clauses here: } | ||
{,MyDSSClass} | ||
; | ||
|
||
|
||
Procedure CreateMyDSSClasses; | ||
|
||
Begin | ||
{Put your custom class instantiations here} | ||
|
||
your custom class are instantiated. See Tline.Create in Line.Pas, for example} | ||
|
||
procedure CreateMyDSSClasses; // Called in DSSClassDefs | ||
|
||
implementation | ||
|
||
uses | ||
DSSClass | ||
{Add Special Uses clauses here: } | ||
{,MyDSSClass}; | ||
|
||
procedure CreateMyDSSClasses; | ||
|
||
begin | ||
{Put your custom class instantiations here} | ||
|
||
{ Example: | ||
DSSClasses.New := TMyDSSClass.Create; | ||
} | ||
|
||
End; | ||
|
||
initialization | ||
|
||
finalization | ||
|
||
end. | ||
} | ||
|
||
end; | ||
|
||
initialization | ||
|
||
finalization | ||
|
||
end. |
Oops, something went wrong.