/// <summary>
        /// Initializes static members of the <see cref="ReportDirectory"/> class.
        /// </summary>
        static ReportDirectory()
        {
            Device device = TestRunFacade.GetDevice();

            if (device != null)
            {
                DeviceIid      = Convert.ToString(device.IID);
                DeviceType     = device.Type;
                deviceProtocol = device.Communication;
                DeviceFirmware = device.Firmware;
                deviceMeasTech = device.MeasTech;
                DeviceFamily   = device.Family.Replace(" ", "_");

                PathProtocol = new DISEHHelper().ProtocolMapping[deviceProtocol.ToLower()];
                PathMeasTech = new DISEHHelper().MeasTechMapping[device.MeasTech.ToLower()];
            }
        }
Exemple #2
0
 /// <summary>
 /// Initializes static members of the <see cref="SilexConnector"/> class.
 /// </summary>
 static SilexConnector()
 {
     ip = TestRunFacade.GetModemIPAddress();
 }