Esempio n. 1
0
 public static Entity.Trending.EtyDataLogDPGroupTrend GetOPCGrpByIDTSS(
     DAO.Trending.DatalogDPGroupTrendDAO target,
     System.Double opcGrpID)
 {
     Entity.Trending.EtyDataLogDPGroupTrend etyDP = new Entity.Trending.EtyDataLogDPGroupTrend();
     etyDP.LocationName = "OCC";
     return(etyDP);
 }
Esempio n. 2
0
        public static System.Boolean UpdateOPCGrpDataMSS(
            DAO.Trending.DatalogDPGroupTrendDAO target,
            Entity.Trending.EtyDataLogDPGroupTrend etyDPGroupTrend)
        {
            object result;

            if (TestSpecificStubsUtil.RunTestSpecificStub(System.Reflection.MethodBase.GetCurrentMethod(), new object[] { target, etyDPGroupTrend }, out result))
            {
                return((System.Boolean)result);
            }
            else
            {
                return(target.UpdateOPCGrpData(etyDPGroupTrend));
            }
        }
Esempio n. 3
0
        public static System.Boolean DeleteOPCSampleGroupByIdMSS(
            DAO.Trending.DatalogDPGroupTrendDAO target,
            System.String opcGrpId)
        {
            object result;

            if (TestSpecificStubsUtil.RunTestSpecificStub(System.Reflection.MethodBase.GetCurrentMethod(), new object[] { target, opcGrpId }, out result))
            {
                return((System.Boolean)result);
            }
            else
            {
                return(target.DeleteOPCSampleGroupById(opcGrpId));
            }
        }
Esempio n. 4
0
        public static Entity.Trending.EtyDataLogDPGroupTrend GetOPCGrpByIDMSS(
            DAO.Trending.DatalogDPGroupTrendDAO target,
            System.Double opcGrpID)
        {
            object result;

            if (TestSpecificStubsUtil.RunTestSpecificStub(System.Reflection.MethodBase.GetCurrentMethod(), new object[] { target, opcGrpID }, out result))
            {
                return((Entity.Trending.EtyDataLogDPGroupTrend)result);
            }
            else
            {
                return(target.GetOPCGrpByID(opcGrpID));
            }
        }
Esempio n. 5
0
 public static System.Boolean UpdateOPCGrpDataTSS(
     DAO.Trending.DatalogDPGroupTrendDAO target,
     Entity.Trending.EtyDataLogDPGroupTrend etyDPGroupTrend)
 {
     return(false);
 }
Esempio n. 6
0
 public static System.Boolean DeleteOPCSampleGroupByIdTSS(
     DAO.Trending.DatalogDPGroupTrendDAO target,
     System.String opcGrpId)
 {
     return(false);
 }