Esempio n. 1
0
 public OefOifTO(OEF_OIF o)
 {
     this.location = o.Location;
     this.fromDate = o.FromDate.ToString("yyyyMMdd");
     this.toDate = o.ToDate.ToString("yyyyMMdd");
     this.dataLocked = o.DataLocked;
     this.recordedDate = o.RecordedDate.ToString("yyyyMMdd");
     this.recordingSite = new TaggedText(o.RecordingSite);
 }
Esempio n. 2
0
 public TaggedOefOifArray(string tag, OEF_OIF item)
 {
     this.tag = tag;
     if (item == null)
     {
         this.count = 0;
         return;
     }
     this.items = new OefOifTO[1];
     this.items[0] = new OefOifTO(item);
     this.count = 1;
 }
Esempio n. 3
0
 public TaggedOefOifArray(string tag, OEF_OIF[] mdoItems)
 {
     this.tag = tag;
     if (mdoItems == null)
     {
         this.count = 0;
         return;
     }
     items = new OefOifTO[mdoItems.Length];
     for (int i = 0; i < mdoItems.Length; i++)
     {
         items[i] = new OefOifTO(mdoItems[i]);
     }
     count = items.Length;
 }