コード例 #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;
 }
コード例 #2
0
ファイル: Res11Point.cs プロジェクト: msruzy/hydronumerics
 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;
 }
コード例 #3
0
    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");
    }