Пример #1
0
        private void TaskTriggerAction(Guid activityId)
        {
            _MesLogger.WriteMessage(MessageLevel.Diagnostics, false, LOGGERSOURCE,
                                    "MeasSetsExportTaskTriggerAction(): called");

            /*
             *
             * DO THE JOB
             *
             */
        }
Пример #2
0
        /// <inheritdoc />
        public void Initialize(IMesManager mesManager)
        {
#if DEBUG
            Debugger.Launch();
#endif
            //memorizzo il riferimento all'oggetto principale di PowerMES
            _MesManager = mesManager;

            //strumenti per messaggi di DIAGNOSTICA:
            _MesLogger = _MesManager.ApplicationMainLogger;
            _MesLogger.WriteMessage(MessageLevel.Info, true, LOGGERSOURCE, "Estensione creata!");
        }
Пример #3
0
 private static void Log(MessageLevel level, string message)
 {
     _MesLogger.WriteMessage(level, true, LOGRSOURCE, message);
 }
Пример #4
0
 private static void Log(string message)
 {
     _MesLogger.WriteMessage(MessageLevel.Diagnostics, true, LOGRSOURCE, message);
 }