コード例 #1
0
 /// <summary>
 /// Creates a new instance of InstalledCylinder class when cylinder, position and install time is provided.
 /// </summary>
 /// <param name="cylinder">Cylinder</param>
 /// <param name="position">Position in which cylinder is located</param>
 /// <param name="cylinderType">Type of installation (iGas versus manifold, etc.)</param>
 public GasEndPoint(Cylinder cylinder, int position, GasEndPoint.Type installationType)
 {
     Cylinder         = cylinder;
     Position         = position;
     InstallationType = installationType;
 }
コード例 #2
0
 /// <summary>
 /// Creates a new instance of InstalledCylinder class when cylinder, position and install time is provided.
 /// </summary>
 /// <param name="cylinder">Cylinder</param>
 /// <param name="position">Position in which cylinder is located</param>
 public UsedGasEndPoint(Cylinder cylinder, int position, Type installationType)
     : base(cylinder, position, installationType)
 {
     Init();
 }