public void MyTestInitialize() { TestData = new TestData { FinalizeNodes = true }; TierIIAction = new CswNbtActTierIIReporting(TestData.CswNbtResources); DataTable MaxTierIITable = TestData.CswNbtResources.execArbitraryPlatformNeutralSqlSelect("getHWM", "select max(tier2id) as hwm from tier2"); _TierIIHWM = CswConvert.ToInt32(MaxTierIITable.Rows[0]["hwm"]); }
public static void getDuplicateMaterialsReport(ICswResources CswResources, TierIIDataReturn Return, object Request) { CswNbtActTierIIReporting _CswNbtActTierIIReporting = new CswNbtActTierIIReporting((CswNbtResources)CswResources); Return.Data = _CswNbtActTierIIReporting.getDuplicateMaterialsReport(); }
/// <summary> /// Gets all reportable Materials and their max and average quantities in a given Location for the given timeframe /// </summary> public static void getTierIIData(ICswResources CswResources, TierIIDataReturn Return, TierIIData.TierIIDataRequest Request) { CswNbtActTierIIReporting _CswNbtActTierIIReporting = new CswNbtActTierIIReporting((CswNbtResources)CswResources); Return.Data = _CswNbtActTierIIReporting.getTierIIData(Request); }