
    Iyj                          d dl Z G d d      Zy)    Nc                   *    e Zd Zd Zd Zd Zd Zd Zy)MonitoringAppTextsc                 .    t        j                  d       y )N
floatpanel)pn	extension)selfs    6/home/carlos/GitHub/SMNAMonitoringApp/monitor_texts.py__init__zMonitoringAppTexts.__init__   s    
\"    c                 H    t         j                  j                  dd      }|S )Nu   ⚠️ **Warning:** The information shown here does not represent official information and should not be regarded for decision making.warning
alert_type)r   paneAlert)r	   warning_bottom_mains     r
   warningszMonitoringAppTexts.warnings	   s+     ggmm  -u  BKm  L""r   c                 l    d}t         j                  j                  |j                  |      d      }|S )Nuh   🛑 **Error:** The analysis field is not available for the selected date. Analysis date is **{fname}**.fnamedangerr   r   r   r   formatr	   r   textmessages       r
   warnings_anlzMonitoringAppTexts.warnings_anl   s2    v 	 ''--% 8X-Nr   c                 l    d}t         j                  j                  |j                  |      d      }|S )NuM   🛑 **Error:** Data unavailable for the selection. File name is **{fname}**.r   r   r   r   r   s       r
   warnings_rdiagz!MonitoringAppTexts.warnings_rdiag   s2    [ 	 ''--% 8X-Nr   c                 l    d}t         j                  j                  |j                  |      d      }|S )Nu^   🛑 **Error:** The log file is not available for the selected date. File name is **{fname}**.r   r   r   r   r   s       r
   warnings_logsz MonitoringAppTexts.warnings_logs   s2    h 	 ''--% 8X-Nr   N)__name__
__module____qualname__r   r   r   r    r"    r   r
   r   r      s    ##r   r   )panelr   r   r&   r   r
   <module>r(      s     r   