1. Definition: /**/ /// <Summary>
///Struct variables (siteid, productlineid, pricetype, year, and period) that define the head information of an API)
/// </Summary>
Public Struct Itpheadinfor
{
Public Int Siteid;
Public Int Productlineid;
Public Systemenum. pricetype;
Public Int Year;
Public Int Period;
}
2. ApplicationProtected StaticList<Commonfunction. itpheadinfor>Ms_itpheadids= NewList<Commonfunction. itpheadinfor>();
Public Static List < Commonfunction. itpheadinfor > Itpheadids
{
Get
{
ReturnMs_itpheadids;
}
}
Commonfunction. itpheadinfor headinfor = New Commonfunction. itpheadinfor ();
Headinfor. Year = Year;
Headinfor. siteid = Siteid;
Headinfor. productlineid = Productlineid;
Headinfor. pricetype = (Systemenum. pricetype) pricetype;
Headinfor. Period = Period;
// Add to list for use in Oracle
If ( ! Ms_itpheadids.contains (headinfor ))
{
Ms_itpheadids.add (headinfor );
}