示例#1
0
        public void InsertConditionRecord(Phrase phrase, Initiator init, Subprogram subp /*int lable*/, bool islast)
        {
            if (islast)
            {
                ID_event_Counter--;
            }
            RecordCT NewRec = new RecordCT(ID_event_Counter, phrase, init, subp);

            ID_event_Counter++;
            CT.Insert(NewRec);
        }
示例#2
0
        public void Delete(int id_rec)
        {
            RecordCT rec = this.CondTable.Find(r => r.ID == id_rec);

            this.CondTable.Remove(rec);
        }
示例#3
0
 public void Insert(RecordCT rec)
 {
     this.CondTable.Insert(0, rec);
 }
示例#4
0
 public void Add(RecordCT rec)
 {
     this.CondTable.Add(rec);
 }