public MFBIncidentItem(MFBIncidentSource ParentSource, XmlNode xmlNode) { mParentSource = ParentSource; Region_GENERIC = "MFB"; Size_GENERIC = "Small"; //Init Appliance String mAppliances = new List<string>(); ProcessXmlNode(xmlNode); }
public MFBWatchNotification(MFBIncidentItem IncidentItem, IWatchList Parent, MFBIncidentSourceOptions Options, MFBIncidentSource ParentSource) { InitializeComponent(); mIncidentItem = IncidentItem; mParent = Parent; mOptions = Options; mParentSource = ParentSource; mfFadeOut = true; UpdateDialog(); //Check if a stream exists for this region if (String.IsNullOrEmpty(mOptions.StreamURL) == false && String.IsNullOrEmpty(mParentSource.GetIncidentWatcher().GetStreamListenerPath()) == false) { //If we have it set to open the stream if (mParentSource.GetIncidentWatcher().GetAutoOpenStreamOnWatch() == true) { OpenStream(); } } }
public MFBIncidentItemList(MFBIncidentSource ParentSource) { mIncidents = new Dictionary<string, MFBIncidentItem>(); mParentSource = ParentSource; mToolTipText = ""; }