Пример #1
0
        public void saveButtonClicked()
        {
            string partType            = popup.getPartType();
            string lineNum             = popup.getLine();
            string station             = popup.getStation();
            string alarmTime           = popup.getAlarmTime();
            bool   desktopNotification = popup.getDesktopNotification();
            bool   emailNotification   = popup.getEmailNotification();
            int    n = popup.getN();

            addAlarmtoPanel(partType, lineNum, station, alarmTime, desktopNotification, emailNotification, n, null);
        }
Пример #2
0
        public void saveButtonClicked()
        {
            String  partType            = popup.getPartType();
            String  lineNum             = popup.getLine();
            String  station             = popup.getStation();
            String  alarmTime           = popup.getAlarmTime();
            Boolean desktopNotification = popup.getDesktopNotification();
            Boolean emailNotification   = popup.getEmailNotification();
            int     n      = popup.getN();
            Timer   timer1 = popup.getTimer();

            addAlarmtoPanel(partType, lineNum, station, alarmTime, desktopNotification, emailNotification, n, timer1);
        }