Example #1
0
 public static void IsPosibleDelete(long oid)
 {
     QueryConditions conditions = new QueryConditions
     {
         MonitorLine = MonitorLineInfo.New(oid),
     };
 }
Example #2
0
        public void CopyValues(MonitorLineInfo source)
        {
            if (source == null)
            {
                return;
            }

            _record.CopyValues(source.Base.Record);
        }
Example #3
0
        protected virtual void CopyFrom(MonitorLineInfo source)
        {
            if (source == null)
            {
                return;
            }

            Oid               = source.Oid;
            OidMonitor        = source.OidMonitor;
            Date              = source.Date;
            ComponentIP       = source.ComponentIP;
            ComponentInterval = source.ComponentInterval;
            ComponentStatus   = source.ComponentStatus;
            Status            = source.Status;
            ErrorLevel        = source.ErrorLevel;
            Description       = source.Description;
        }
Example #4
0
 internal static string SELECT(long oid, bool lockTable)
 {
     return(SELECT(new QueryConditions {
         MonitorLine = MonitorLineInfo.New(oid)
     }, lockTable));
 }