예제 #1
0
        /// <summary>
        /// Creates a deep copy of a given channel
        /// </summary>
        /// <param name="c"></param>
        public Petrolog_Channel(Oilfield_Channel c) : base((Oilfield_Channel)c)
        {
            if (c.GetType() != this.GetType())
            {
                return;
            }
            Petrolog_Channel input = (Petrolog_Channel)c;

            this.m_Node         = input.m_Node;
            this.m_Parent       = input.m_Parent;
            this.LogType        = input.LogType;
            this.LogColumn      = input.LogColumn;
            this.LogNumber      = input.LogNumber;
            this.LogTool        = input.LogTool;
            this.LogDimension   = input.LogDimension;
            this.LogColumnStart = input.LogColumnStart;
        }
예제 #2
0
 /// <summary>
 /// Returns the channel average from start to end depth inclusive.
 /// </summary>
 /// <param name="start">start index</param>
 /// <param name="end">end index</param>
 /// <param name="index">index channel</param>
 /// <returns>ariphmetic average or NaN</returns>
 public double GetAverage(double start, double end, Petrolog_Channel index)
 {
     return(base.GetAverage(start, end, (Oilfield_Channel)index));
 }
예제 #3
0
 /// <summary>
 /// Locates the upper and lower boundaries for the channel
 /// </summary>
 /// <param name="index">index channel or null</param>
 /// <returns>true is boundearies are located</returns>
 public bool LocateDataBoundaries(Petrolog_Channel index)
 {
     return(base.LocateDataBoundaries((Oilfield_Channel)index));
 }