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

            _record.CopyValues(source.Base.Record);
        }
예제 #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;
        }
예제 #4
0
 internal static string SELECT(long oid, bool lockTable)
 {
     return(SELECT(new QueryConditions {
         MonitorLine = MonitorLineInfo.New(oid)
     }, lockTable));
 }