Beispiel #1
0
        public static System.Collections.Generic.List <Entity.Trending.EtyDataLogDPTrend> GetDataPointByNameMSS(
            DAO.Trending.DatalogDPTrendDAO target,
            System.String opcServerName, System.String DataPointNameSubstr)
        {
            object result;

            if (TestSpecificStubsUtil.RunTestSpecificStub(System.Reflection.MethodBase.GetCurrentMethod(), new object[] { target, opcServerName, DataPointNameSubstr }, out result))
            {
                return((System.Collections.Generic.List <Entity.Trending.EtyDataLogDPTrend>)result);
            }
            else
            {
                return(target.GetDataPointByName(opcServerName, DataPointNameSubstr));
            }
        }
Beispiel #2
0
 // TODO: uncomment the following attribute and provide a test fixture and a name of its test
 //[TestSpecificStubContext(typeof(YourTestFixture), "NameOfYourTest" )]
 public static System.Collections.Generic.List <Entity.Trending.EtyDataLogDPTrend> GetDataPointByNameTSS(
     DAO.Trending.DatalogDPTrendDAO target,
     System.String opcServerName, System.String DataPointNameSubstr)
 {
     return(target.GetDataPointByName(opcServerName, DataPointNameSubstr));
 }