public static void set_MaximumMSS( System.Windows.Forms.NumericUpDown target, System.Decimal value_1) { object result; if (TestSpecificStubsUtil.RunTestSpecificStub(System.Reflection.MethodBase.GetCurrentMethod(), new object[] { target, value_1 }, out result)) { return; } else { target.Maximum = value_1; } }
public static System.IAsyncResult BeginInvokeMSS( System.Windows.Forms.Control target, System.Delegate method) { object result; if (TestSpecificStubsUtil.RunTestSpecificStub(System.Reflection.MethodBase.GetCurrentMethod(), new object[] { target, method }, out result)) { return((System.IAsyncResult)result); } else { return(target.BeginInvoke(method)); } }
public static void PopulateDataPointListDataGridViewMSS( TrendViewer.View.DataPointList target, System.Int32 mode, System.Data.DataTable dpList) { object result; if (TestSpecificStubsUtil.RunTestSpecificStub(System.Reflection.MethodBase.GetCurrentMethod(), new object[] { target, mode, dpList }, out result)) { return; } else { target.PopulateDataPointListDataGridView(mode, dpList); } }
public static void GetDataPointListMSS( OPCSampleGrpConfig.Controller.OPCDataSelectorController target, System.String opcServerName, System.String filterString) { object result; if (TestSpecificStubsUtil.RunTestSpecificStub(System.Reflection.MethodBase.GetCurrentMethod(), new object[] { target, opcServerName, filterString }, out result)) { return; } else { target.GetDataPointList(opcServerName, filterString); } }
public static System.Object GetDataItemValueMSS( STEE.ISCS.OPCProxy.OPCServerProxy target, System.String itemID) { object result; if (TestSpecificStubsUtil.RunTestSpecificStub(System.Reflection.MethodBase.GetCurrentMethod(), new object[] { target, itemID }, out result)) { return((System.Object)result); } else { return(target.GetDataItemValue(itemID)); } }
public static System.Collections.Generic.Dictionary <System.UInt64, Entity.Trending.EtyEntity> GetAllDataNodesByServerRootNameMSS( DAO.Trending.EntityDAO target, System.String serverRootName) { object result; if (TestSpecificStubsUtil.RunTestSpecificStub(System.Reflection.MethodBase.GetCurrentMethod(), new object[] { target, serverRootName }, out result)) { return((System.Collections.Generic.Dictionary <System.UInt64, Entity.Trending.EtyEntity>)result); } else { return(target.GetAllDataNodesByServerRootName(serverRootName)); } }
public static void DeleteByFormulaLblNameMSS( /*TrendViewer.Controller.FormulaListController*/ object target, System.String formulaName) { object result; if (TestSpecificStubsUtil.RunTestSpecificStub(System.Reflection.MethodBase.GetCurrentMethod(), new object[] { target, formulaName }, out result)) { return; } else { Helper.CallMethod(target, "DeleteByFormulaLblName", new object[] { formulaName }); } }
public static System.Boolean ExecuteNonQueryWithParamsMSS( DAO.Trending.Common.SimpleDatabase target, System.String query, System.Collections.Generic.List <DAO.Trending.Helper.SqlParameter> parameters) { object result; if (TestSpecificStubsUtil.RunTestSpecificStub(System.Reflection.MethodBase.GetCurrentMethod(), new object[] { target, query, parameters }, out result)) { return((System.Boolean)result); } else { return(target.ExecuteNonQueryWithParams(query, parameters)); } }
public static void SendMSS( STEE.ISCS.MVC.NotifyManager target, System.String type, System.String name, System.Object body) { object result; if (TestSpecificStubsUtil.RunTestSpecificStub(System.Reflection.MethodBase.GetCurrentMethod(), new object[] { target, type, name, body }, out result)) { return; } else { target.Send(type, name, body); } }
public static System.Int32 AddMSS( System.Windows.Forms.DataGridViewColumnCollection target, System.String columnName, System.String headerText) { object result; if (TestSpecificStubsUtil.RunTestSpecificStub(System.Reflection.MethodBase.GetCurrentMethod(), new object[] { target, columnName, headerText }, out result)) { return((System.Int32)result); } else { return(target.Add(columnName, headerText)); } }
public static System.Boolean ExecuteNonQueryMSS( DAO.Trending.Common.SimpleDatabase target, System.String query) { object result; if (TestSpecificStubsUtil.RunTestSpecificStub(System.Reflection.MethodBase.GetCurrentMethod(), new object[] { target, query }, out result)) { return((System.Boolean)result); } else { return(target.ExecuteNonQuery(query)); } }
public static void RealTimeExecuteCmd_ClickMSS( /*TrendViewer.Controller.TrendViewController*/ object target, System.Object sender, System.EventArgs e) { object result; if (TestSpecificStubsUtil.RunTestSpecificStub(System.Reflection.MethodBase.GetCurrentMethod(), new object[] { target, sender, e }, out result)) { return; } else { Helper.CallMethod(target, "RealTimeExecuteCmd_Click", new object[] { sender, e }); } }
public static void ExportHistoryDataMSS( /*TrendViewer.Controller.TrendViewController*/ object target, System.String filename) { object result; if (TestSpecificStubsUtil.RunTestSpecificStub(System.Reflection.MethodBase.GetCurrentMethod(), new object[] { target, filename }, out result)) { return; } else { Helper.CallMethod(target, "ExportHistoryData", new object[] { filename }); } }
public static void AbortMSS( System.Threading.Thread target) { object result; if (TestSpecificStubsUtil.RunTestSpecificStub(System.Reflection.MethodBase.GetCurrentMethod(), new object[] { target }, out result)) { return; } else { //target.Abort(); return; } }
public static System.Boolean IsIdentifierStartCharMSS( /*OPCTrendLib.Scanner*/ object target, System.Char c) { object result; if (TestSpecificStubsUtil.RunTestSpecificStub(System.Reflection.MethodBase.GetCurrentMethod(), new object[] { target, c }, out result)) { return((System.Boolean)result); } else { return((System.Boolean)Helper.CallMethod(target, "IsIdentifierStartChar", new object[] { c })); } }
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)); } }
public static System.Collections.Generic.Dictionary <System.UInt64, Entity.Trending.EtyEntity> GetDataNodeChildrenByPkeyMSS( DAO.Trending.EntityDAO target, System.UInt64 pkey) { object result; if (TestSpecificStubsUtil.RunTestSpecificStub(System.Reflection.MethodBase.GetCurrentMethod(), new object[] { target, pkey }, out result)) { return((System.Collections.Generic.Dictionary <System.UInt64, Entity.Trending.EtyEntity>)result); } else { return(target.GetDataNodeChildrenByPkey(pkey)); } }
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)); } }
public static DAO.Trending.Common.DatabaseSession GetSessionMSS( DAO.Trending.Common.SessionStore target, System.String connectionString) { object result; if (TestSpecificStubsUtil.RunTestSpecificStub(System.Reflection.MethodBase.GetCurrentMethod(), new object[] { target, connectionString }, out result)) { return((DAO.Trending.Common.DatabaseSession)result); } else { return(target.GetSession(connectionString)); } }
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)); } }
public static void SetFormTypeMSS( /*TrendViewer.Controller.FormulaGroupController*/ object target, TrendViewer.View.FormType type) { object result; if (TestSpecificStubsUtil.RunTestSpecificStub(System.Reflection.MethodBase.GetCurrentMethod(), new object[] { target, type }, out result)) { return; } else { Helper.CallMethod(target, "SetFormType", new object[] { type }); } }
public static System.Boolean CanConvertToMSS( System.ComponentModel.TypeConverter target, System.Type destinationType) { object result; if (TestSpecificStubsUtil.RunTestSpecificStub(System.Reflection.MethodBase.GetCurrentMethod(), new object[] { target, destinationType }, out result)) { return((System.Boolean)result); } else { return(target.CanConvertTo(destinationType)); } }
public static System.Boolean AddOPCItemMSS( STEE.ISCS.OPCProxy.OPCServerProxy target, System.String opcID) { object result; if (TestSpecificStubsUtil.RunTestSpecificStub(System.Reflection.MethodBase.GetCurrentMethod(), new object[] { target, opcID }, out result)) { return((System.Boolean)result); } else { return(target.AddOPCItem(opcID)); } }
public static System.Collections.Generic.List <Entity.Trending.EtyOPCDataPoint> GetUniqueEnabledOPCDataPointMSS( DAO.Trending.OPCNodeNDataPointDAO target, System.String hostName, System.String serverName) { object result; if (TestSpecificStubsUtil.RunTestSpecificStub(System.Reflection.MethodBase.GetCurrentMethod(), new object[] { target, hostName, serverName }, out result)) { return((System.Collections.Generic.List <Entity.Trending.EtyOPCDataPoint>)result); } else { return(target.GetUniqueEnabledOPCDataPoint(hostName, serverName)); } }
public static void KillMSS( System.Diagnostics.Process target) { object result; if (TestSpecificStubsUtil.RunTestSpecificStub(System.Reflection.MethodBase.GetCurrentMethod(), new object[] { target }, out result)) { return; } else { //target.Kill(); return; } }
public static System.String[] SplitMSS( System.String target, System.String[] separator, System.StringSplitOptions options) { object result; if (TestSpecificStubsUtil.RunTestSpecificStub(System.Reflection.MethodBase.GetCurrentMethod(), new object[] { target, separator, options }, out result)) { return((System.String[])result); } else { return(target.Split(separator, options)); } }
public static System.Object EvalMSS( OPCTrendLib.Evaluator target, System.String text) { object result; if (TestSpecificStubsUtil.RunTestSpecificStub(System.Reflection.MethodBase.GetCurrentMethod(), new object[] { target, text }, out result)) { return((System.Object)result); } else { return(target.Eval(text)); } }
public static void InitializeServerMSS( STEE.ISCS.OPCProxy.OPCServerProxy target, System.String serverName, System.String groupName) { object result; if (TestSpecificStubsUtil.RunTestSpecificStub(System.Reflection.MethodBase.GetCurrentMethod(), new object[] { target, serverName, groupName }, out result)) { return; } else { target.InitializeServer(serverName, groupName); } }
public static void AddStringItemMSS( STEE.ISCS.MulLanguage.StringHelper target, System.String ID, System.String TextEnglish, System.String TextChinese, System.String Description) { object result; if (TestSpecificStubsUtil.RunTestSpecificStub(System.Reflection.MethodBase.GetCurrentMethod(), new object[] { target, ID, TextEnglish, TextChinese, Description }, out result)) { return; } else { target.AddStringItem(ID, TextEnglish, TextChinese, Description); } }
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)); } }