Beispiel #1
0
 internal Res11Point(Res11 dfs, IDfsDynamicItemInfo I, int ElementNumber, double chainage, string BranchName, string TopoId, double X, double Y, PointType pt)
 {
   Chainage = chainage;
   this.dfs = dfs;
   this.I = I;
   this.ElementNumber = ElementNumber;
   this.BranchName = BranchName;
   this.TopoID = TopoId;
   this.X = X;
   this.Y = Y;
   this.pointType = pt;
 }
Beispiel #2
0
 internal Res11Point(Res11 dfs, IDfsDynamicItemInfo I, int ElementNumber, double chainage, string BranchName, string TopoId, double X, double Y, PointType pt)
 {
     Chainage           = chainage;
     this.dfs           = dfs;
     this.I             = I;
     this.ElementNumber = ElementNumber;
     this.BranchName    = BranchName;
     this.TopoID        = TopoId;
     this.X             = X;
     this.Y             = Y;
     this.pointType     = pt;
 }
    private void LoadFile(string FileName)
    {
      if (res11file != null)
      {
        res11file.Dispose();
      }
      res11file = new Res11(FileName);
      StartTime = res11file.TimeSteps.First();
      EndTime = res11file.TimeSteps.Last();
      MinStartTime = StartTime;
      MaxEndTime = EndTime;

      this.FileName = res11file.AbsoluteFileName;

      RaisePropertyChanged("FileName");
      RaisePropertyChanged("StartTime");
      RaisePropertyChanged("EndTime");
      RaisePropertyChanged("MinStartTime");
      RaisePropertyChanged("MaxEndTime");
    }