コード例 #1
0
        /// <summary>
        /// The create automatically.
        /// </summary>
        /// <returns>
        /// The <see cref="bool"/>.
        /// </returns>
        public static bool IsProjectCreated()
        {
            Log.Enter(typeof(Project), MethodBase.GetCurrentMethod().Name);

            bool result = ProgramFunctions.IsMenuAvailable();

            result &= DtmFunctions.IsMenuAvailable();
            result &= AdditionalFunctions.IsMenuAvailable();
            result &= DeviceReport.IsMenuAvailable();
            System.Threading.Thread.Sleep(10000);
            return(result);
        }
コード例 #2
0
        /// <summary>
        /// Opens a FDT specified DTM function by its name and validates if the action was successful
        /// </summary>
        /// <param name="functionName">The name of the DTM function</param>
        /// <returns>True if the action was successful</returns>
        public bool Run(string functionName)
        {
            Logging.Enter(this, MethodBase.GetCurrentMethod().Name);

            return(DtmFunctions.OpenDtmFunction(functionName));
        }
コード例 #3
0
 /// <summary>
 /// The run.
 /// </summary>
 /// <param name="functionName">
 /// The function name.
 /// </param>
 /// <returns>
 /// The <see cref="bool"/>.
 /// </returns>
 public bool Run(string functionName)
 {
     DtmFunctions.SelectDtmFunctions(functionName);
     return(false);
 }