diff --git a/20210526_Scripts_Update/Stored_Proc.sql b/20210526_Scripts_Update/Stored_Proc.sql new file mode 100644 index 0000000..a8d2b86 --- /dev/null +++ b/20210526_Scripts_Update/Stored_Proc.sql @@ -0,0 +1,1831 @@ +USE [qw2021] +GO + +/****** Object: StoredProcedure [dbo].[Migrate_TAF_Import] Script Date: 26.05.2021 06:45:44 ******/ +SET ANSI_NULLS ON +GO + +SET QUOTED_IDENTIFIER ON +GO + +-- ============================================= +-- Author: +-- Create date: +-- Description: +-- ============================================= +CREATE PROCEDURE [dbo].[Migrate_TAF_Import] +@ortnr int=0, +@return int=0 output, +@statistics varchar(max) output +AS +BEGIN +declare @cnt int +select @cnt=COUNT(*) from RES_RESULTATE + + +if @ortnr<>0 begin + delete from Res_Resultate where ortnr=@ortnr + delete from Res_Disziplin_Select where ortnr=@ortnr +end + + +INSERT INTO [dbo].[Res_Resultate] + ([OrtNr] + ,[Rang] + ,[Nachname] + ,[Vorname] + ,[Jahrgang] + ,[Land] + ,[Verein] + ,[Lizenz] + ,[Kategorie_kurzname] + ,[Kategorie] + ,[Position] + ,[Bahn] + ,[Qualifikation] + ,[Serie] + ,[Disziplin] + ,[Leistung] + ,[Info] + ,[Punkte] + ,[Wind] + ,[Nicht_Beruecksichtigen] + ,[Nur_Erdgas] + ,[Team]) + select ortnr, roundrank,lastname,firstname,yob,nation,clubname,code,class,class,heatnr,lane,0,0,event, + --case when result='n.a.' then '-1' else result end as result, + dbo.leistungen_rechnen(event,result), + CASE WHEN event='HOC' and eventinfo = '1' then 'O' + when event='HOC' and eventinfo='2' then'XO' + WHEN EVENT='HOC' and eventinfo='3' then 'XXO' else eventinfo end, + SinglePoints,wind,0,0,'' + from [dbo].[Res_TAF_Import] + where SinglePoints<>'' and SinglePoints > '0' and OrtNr=@ortnr + + -- Diszipllin-Select für Orte festlegen + exec res_set_disziplin_select @ortnr + + declare @rescount_alt int = @cnt + declare @rescount_neu int + select @rescount_neu=count(*) from RES_RESULTATE + + set @cnt=0 + select @cnt=COUNT(*) from RES_RESULTATE where Info<>'O' and Info <>'XO' and Info <>'XXO' and Disziplin='HOC' + set @return=@cnt + if @cnt>0 begin + set @statistics='{Fehler=1,Nicht alle Hochresultate haben einen korrekten Wert im Feld eventinfo='+ltrim(rtrim(@cnt))+',' + end else begin + set @statistics='{Fehler=0,' + end + set @statistics=@statistics+'Anzahl Resultate vor Upload='+ltrim(rtrim(@rescount_alt))+',' + set @statistics=@statistics+'Anzahl Resultate nach Upload='+ltrim(rtrim(@rescount_neu))+',' + + select @cnt=COUNT(*) from Res_TAF_Import where OrtNr=@ortnr + set @statistics=@statistics+'Anzahl Datensätze='+ltrim(rtrim(@cnt))+',' + select @cnt= count(distinct [event]) from Res_TAF_Import where OrtNr=@ortnr + set @statistics=@statistics+'Anzahl Disziplinen='+ltrim(rtrim(@cnt))+',' + select @cnt=COUNT(distinct class) from Res_TAF_Import where OrtNr=@ortnr + set @statistics=@statistics+'Anzahl Kategorien='+ltrim(rtrim(@cnt)) + + set @statistics=@statistics+'}' + + + print @statistics + + + +END +GO + +/****** Object: StoredProcedure [dbo].[res_resultate_aufbereiten] Script Date: 26.05.2021 06:45:44 ******/ +SET ANSI_NULLS ON +GO + +SET QUOTED_IDENTIFIER ON +GO + + +-- ============================================= +-- Author: +-- Create date: +-- Description: +-- ============================================= +CREATE PROCEDURE [dbo].[res_resultate_aufbereiten] @orte VARCHAR(1024) + ,@u10u12 VARCHAR(1) + ,@resqw INT = 0 + ,@resew INT = 0 + ,@resortnr INT = 0 +AS +BEGIN + DECLARE @batchstart DATETIME; + + SET @batchstart = GETDATE(); + + PRINT 'Start: ' + CONVERT(VARCHAR(12), DATEADD(ms, DATEDIFF(ms, @BatchStart, GETDATE()), 0), 114); + + ----------------------------------------------------------------------------------------------- + -- Work-Tabellen löschen + ----------------------------------------------------------------------------------------------- + SET NOCOUNT ON; + + TRUNCATE TABLE Res_Resultat_Komplett; + + TRUNCATE TABLE res_temportdaten; + + --IF EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'[dbo].[Res_tmportdaten]') AND type in (N'U')) + --DROP TABLE [dbo].[Res_tmportdaten] + ----------------------------------------------------------------------------------------------- + -- Betroffene Orte in temptable übernehmen + ----------------------------------------------------------------------------------------------- + SELECT * + INTO #tmp1 + FROM dbo.split(@orte, ';'); + + DECLARE @ort VARCHAR(50); + DECLARE @iortnr INT; + DECLARE @intortnr INT; + DECLARE @eintragnr INT; + DECLARE @ortnr INT; + DECLARE @rang VARCHAR(50); + DECLARE @land VARCHAR(50); + DECLARE @nachname VARCHAR(50); + DECLARE @vorname VARCHAR(50); + DECLARE @jahrgang VARCHAR(50); + DECLARE @verein VARCHAR(50); + DECLARE @lizenz VARCHAR(50); + DECLARE @kategorie_kurzname VARCHAR(50); + DECLARE @kategorie VARCHAR(50); + DECLARE @position VARCHAR(50); + DECLARE @bahn VARCHAR(50); + DECLARE @qualifikation VARCHAR(50); + DECLARE @serie VARCHAR(50); + DECLARE @disziplin VARCHAR(50); + DECLARE @leistung VARCHAR(50); + DECLARE @punkte VARCHAR(50); + DECLARE @info VARCHAR(50); + DECLARE @wind VARCHAR(50); + DECLARE @nicht_beruecksichtigen INT; + DECLARE @xsql VARCHAR(1024); + DECLARE @tblc VARCHAR(1024); + DECLARE @v INT; + DECLARE @ne INT; + DECLARE @team VARCHAR(50); + DECLARE @sl VARCHAR(50); + + SET @tblc = ' CREATE TABLE [dbo].[_tmpres]([Rang] [int] NULL, [name] [varchar](101) NULL, [Jahrgang] [varchar](50) NULL, [Lizenz] [varchar](50) NULL,'; + SET @tblc = @tblc + ' [Verein] [varchar](50) NULL, [Kategorie_kurzname] [varchar](50) NULL, [Kategorie] [varchar](50) NULL,[Disziplin] [varchar](50) NULL,'; + + DECLARE @reseintrag INT; + DECLARE @reseintrag1 INT; + DECLARE @oc INT; + + SET @intortnr = 1; + SET @oc = 0; + + DECLARE xc CURSOR + FOR + SELECT * + FROM #tmp1; + + OPEN xc; + + FETCH NEXT + FROM xc + INTO @ort; + + WHILE @@fetch_status = 0 + BEGIN + + SELECT @iortnr = ortnr + FROM dbo.res_ort + WHERE ort = @ort; + + IF @resew <> 1 + BEGIN + DECLARE xc1 CURSOR + FOR + SELECT * + FROM dbo.res_resultate a + WHERE a.ortnr = @iortnr + AND a.nicht_beruecksichtigen <> 1 + AND a.nur_erdgas = 0 -- and disziplin<>'HOCH' + AND a.kategorie IN (SELECT kategorie FROM Res_Disziplin_Select WHERE Disziplin=a.Disziplin AND bestenliste=1 and ortnr=a.ortnr) + ORDER BY a.lizenz + ,a.nachname + ,a.vorname + ,a.punkte; + --SELECT * + --FROM dbo.res_resultate + --WHERE ortnr = @iortnr + -- AND nicht_beruecksichtigen <> 1 + -- AND nur_erdgas = 0 -- and disziplin<>'HOCH' + --ORDER BY lizenz + -- ,nachname + -- ,vorname + -- ,punkte + END; + ELSE + BEGIN + DECLARE xc1 CURSOR + FOR + SELECT * + FROM dbo.res_resultate a + WHERE ortnr = @iortnr + AND nicht_beruecksichtigen <> 1 -- and disziplin<>'HOCH' + AND a.kategorie IN (SELECT kategorie FROM Res_Disziplin_Select WHERE Disziplin=a.Disziplin AND bestenliste=1 and ortnr=a.ortnr) + ORDER BY lizenz + ,nachname + ,vorname + ,punkte; + END; + + OPEN xc1; + + FETCH NEXT + FROM xc1 + INTO @eintragnr + ,@ortnr + ,@rang + ,@nachname + ,@vorname + ,@jahrgang + ,@land + ,@verein + ,@lizenz + ,@kategorie_kurzname + ,@kategorie + ,@position + ,@bahn + ,@qualifikation + ,@serie + ,@disziplin + ,@leistung + ,@info + ,@punkte + ,@wind + ,@nicht_beruecksichtigen + ,@ne + ,@team; + + WHILE @@fetch_status = 0 + BEGIN + SET @v = 1; + + --if @disziplin='HOCH' begin + IF @disziplin = 'HOC' + BEGIN + SET @v = 0; + SET @v = ( + SELECT CHARINDEX('O', @info) + ); + END; + + IF @v > 0 + BEGIN + IF RTRIM(LTRIM(@lizenz)) <> '0' + AND RTRIM(LTRIM(@lizenz)) <> '' + BEGIN + SELECT @ResEintrag = eintragnr + FROM dbo.res_resultat_komplett + WHERE lizenz = @lizenz + AND disziplin = @disziplin; + + IF @@rowcount = 0 + BEGIN + INSERT dbo.res_resultat_komplett ( + nachname + ,vorname + ,jahrgang + ,land + ,verein + ,lizenz + ,kategorie_kurzname + ,kategorie + ,disziplin + ,ort1 + ,ort2 + ,ort3 + ,ort4 + ,ort5 + ,ort6 + ,ort7 + ,ort8 + ,ort9 + ,ort10 + ,best + ,rang + ,hochversuch + ,Team + ,sl + ) + VALUES ( + @nachname + ,@vorname + ,@jahrgang + ,@land + ,@verein + ,@lizenz + ,@kategorie_kurzname + ,@kategorie + ,@disziplin + ,0 + ,0 + ,0 + ,0 + ,0 + ,0 + ,0 + ,0 + ,0 + ,0 + ,'' + ,0 + ,'' + ,@team + ,@leistung + ); + + SELECT TOP 1 @reseintrag = eintragnr + FROM dbo.res_resultat_komplett + ORDER BY eintragnr DESC; + END; + END; + ELSE + BEGIN + SELECT @ResEintrag = eintragnr + FROM dbo.res_resultat_komplett + WHERE nachname = @nachname + AND vorname = @vorname + AND jahrgang = @jahrgang + AND kategorie = @kategorie + AND disziplin = @disziplin; + + IF @@rowcount = 0 + BEGIN + INSERT dbo.res_resultat_komplett ( + nachname + ,vorname + ,jahrgang + ,land + ,verein + ,lizenz + ,kategorie_kurzname + ,kategorie + ,disziplin + ,ort1 + ,ort2 + ,ort3 + ,ort4 + ,ort5 + ,ort6 + ,ort7 + ,ort8 + ,ort9 + ,ort10 + ,best + ,rang + ,hochversuch + ,team + ,sl + ) + VALUES ( + @nachname + ,@vorname + ,@jahrgang + ,@land + ,@verein + ,@lizenz + ,@kategorie_kurzname + ,@kategorie + ,@disziplin + ,0 + ,0 + ,0 + ,0 + ,0 + ,0 + ,0 + ,0 + ,0 + ,0 + ,'' + ,0 + ,'' + ,@team + ,@leistung + ); + + SELECT TOP 1 @reseintrag = eintragnr + FROM dbo.res_resultat_komplett + ORDER BY eintragnr DESC; + END; + END; + + INSERT INTO dbo.res_temportdaten ( + eintragparent + ,POSITION + ,bahn + ,qualifikation + ,serie + ,leistung + ,info + ,punkte + ,wind + ,leistung_aufbereitet + ) + VALUES ( + @reseintrag + ,@position + ,@bahn + ,@qualifikation + ,@serie + ,@leistung + ,@info + ,@punkte + ,@wind + ,dbo.get_leistung(@leistung, @disziplin) + ); + + SELECT TOP 1 @reseintrag1 = eintragnr + FROM dbo.res_temportdaten + ORDER BY eintragnr DESC; + + SET @sl = @leistung; + + --shu 20100527; HOCH ebenfalls ausschliessen + IF SUBSTRING(@disziplin, 1, 3) <> '1K0' + AND SUBSTRING(@disziplin, 1, 3) <> '600' + AND @disziplin <> 'HOC' + BEGIN + -- if substring(@disziplin,1,4)<>'1000' and substring(@disziplin,1,3)<>'600' and @disziplin <> 'HOCH'begin + IF SUBSTRING(@leistung, 1, 1) <> '-' + BEGIN + SET @sl = '-' + @punkte; + END; + END; + + -- 20100527 - SHU Speziell für HOXH + --if @disziplin='HOCH' begin + IF @disziplin = 'HOC' + BEGIN + UPDATE dbo.res_resultat_komplett + SET sl = @sl + WHERE eintragnr = @reseintrag + AND @sl > sl; + + DECLARE @sl1 VARCHAR(50); + + SELECT @sl1 = sl + FROM dbo.Res_Resultat_Komplett + WHERE eintragnr = @reseintrag; + + IF @sl = @sl1 + BEGIN + SET @xsql = 'ort' + RTRIM(LTRIM(STR(@intortnr))); + SET @xsql = 'update dbo.res_resultat_komplett set ' + @xsql + '=' + LTRIM(RTRIM(STR(@reseintrag1))) + ' where eintragnr=' + LTRIM(RTRIM(STR(@reseintrag))); + + EXECUTE (@xsql); + END; + ELSE + BEGIN + -- 20100615 korrektur hoch + SET @xsql = 'ort' + RTRIM(LTRIM(STR(@intortnr))); + SET @xsql = 'update dbo.res_resultat_komplett set ' + @xsql + '=' + LTRIM(RTRIM(STR(@reseintrag1))) + ' where eintragnr=' + LTRIM(RTRIM(STR(@reseintrag))); + + EXECUTE (@xsql); + END; + END; + ELSE + BEGIN + UPDATE dbo.res_resultat_komplett + SET sl = @sl + WHERE eintragnr = @reseintrag + AND @sl < sl; + + SET @xsql = 'ort' + RTRIM(LTRIM(STR(@intortnr))); + SET @xsql = 'update dbo.res_resultat_komplett set ' + @xsql + '=' + LTRIM(RTRIM(STR(@reseintrag1))) + ' where eintragnr=' + LTRIM(RTRIM(STR(@reseintrag))); + + EXECUTE (@xsql); + END; + END; + + FETCH NEXT + FROM xc1 + INTO @eintragnr + ,@ortnr + ,@rang + ,@nachname + ,@vorname + ,@jahrgang + ,@land + ,@verein + ,@lizenz + ,@kategorie_kurzname + ,@kategorie + ,@position + ,@bahn + ,@qualifikation + ,@serie + ,@disziplin + ,@leistung + ,@info + ,@punkte + ,@wind + ,@nicht_beruecksichtigen + ,@ne + ,@team; + END; + + CLOSE xc1; + + DEALLOCATE xc1; + + SET @intortnr = @intortnr + 1; + + FETCH NEXT + FROM xc + INTO @ort; + END; + + CLOSE xc; + + DEALLOCATE xc; + + ---- shu 20100527 + PRINT 'Vor Res 1: ' + CONVERT(VARCHAR(12), DATEADD(ms, DATEDIFF(ms, @BatchStart, GETDATE()), 0), 114); + + EXECUTE dbo.res_resultate_aufbereiten_1 @u10u12; + + PRINT 'Nach Res 1: ' + CONVERT(VARCHAR(12), DATEADD(ms, DATEDIFF(ms, @BatchStart, GETDATE()), 0), 114); + + WHILE @oc < 9 + BEGIN + SET @tblc = @tblc + '[F' + LTRIM(RTRIM(@oc)) + '] [varchar] (50) null,'; + SET @oc = @oc + 1; + END; + + IF EXISTS ( + SELECT * + FROM sys.objects + WHERE OBJECT_ID = OBJECT_ID(N'[dbo].[_tmpres]') + AND TYPE IN (N'U') + ) + DROP TABLE [dbo].[_tmpres]; + + SET @tblc = @tblc + '[Best] [varchar](50) NULL,[BestPunkte] [int] NULL, [Land] [Varchar] (50) NULL, [hochversuch] [varchar] (50) null, [hochbest] [varchar] (50) null, [team] [varchar] (50) null) ON [PRIMARY]'; + + EXECUTE (@tblc); + + UPDATE dbo.res_temportdaten + SET leistung_aufbereitet = '0' + ,leistung = 0 + WHERE punkte = 0; + + INSERT dbo._tmpres + SELECT dbo.Res_Resultat_Komplett.Rang + ,dbo.Res_Resultat_Komplett.Nachname + ' ' + dbo.Res_Resultat_Komplett.Vorname AS name + ,dbo.Res_Resultat_Komplett.Jahrgang + ,dbo.Res_Resultat_Komplett.Lizenz + ,dbo.Res_Resultat_Komplett.Verein + ,dbo.Res_Resultat_Komplett.Kategorie_kurzname + ,dbo.Res_Resultat_Komplett.Kategorie + ,dbo.Res_Resultat_Komplett.Disziplin + ,dbo.res_temportdaten.Leistung_Aufbereitet AS Lo1 + ,res_temportdaten_1.Leistung_Aufbereitet AS Lo2 + ,res_temportdaten_2.Leistung_Aufbereitet AS Lo3 + ,res_temportdaten_3.Leistung_Aufbereitet AS Lo4 + ,res_temportdaten_4.Leistung_Aufbereitet AS Lo5 + ,res_temportdaten_5.Leistung_Aufbereitet AS Lo6 + ,res_temportdaten_6.Leistung_Aufbereitet AS Lo7 + ,res_temportdaten_7.Leistung_Aufbereitet AS Lo8 + ,res_temportdaten_8.Leistung_Aufbereitet AS Lo9 + ,dbo.Res_Resultat_Komplett.Best + ,dbo.Res_Resultat_Komplett.BestPunkte + ,dbo.res_resultat_komplett.land + ,dbo.Res_Resultat_Komplett.HochVersuch + ,dbo.Res_Resultat_Komplett.Hochbest + ,dbo.Res_Resultat_Komplett.Team + FROM dbo.Res_Resultat_Komplett + LEFT OUTER JOIN dbo.res_temportdaten AS res_temportdaten_7 ON dbo.Res_Resultat_Komplett.ort8 = res_temportdaten_7.EintragNr + LEFT OUTER JOIN dbo.res_temportdaten AS res_temportdaten_6 ON dbo.Res_Resultat_Komplett.ort7 = res_temportdaten_6.EintragNr + LEFT OUTER JOIN dbo.res_temportdaten AS res_temportdaten_4 ON dbo.Res_Resultat_Komplett.ort5 = res_temportdaten_4.EintragNr + LEFT OUTER JOIN dbo.res_temportdaten AS res_temportdaten_1 ON dbo.Res_Resultat_Komplett.ort2 = res_temportdaten_1.EintragNr + LEFT OUTER JOIN dbo.res_temportdaten AS res_temportdaten_2 ON dbo.Res_Resultat_Komplett.ort3 = res_temportdaten_2.EintragNr + LEFT OUTER JOIN dbo.res_temportdaten AS res_temportdaten_3 ON dbo.Res_Resultat_Komplett.ort4 = res_temportdaten_3.EintragNr + LEFT OUTER JOIN dbo.res_temportdaten ON dbo.Res_Resultat_Komplett.ort1 = dbo.res_temportdaten.EintragNr + LEFT OUTER JOIN dbo.res_temportdaten AS res_temportdaten_5 ON dbo.Res_Resultat_Komplett.ort6 = res_temportdaten_5.EintragNr + LEFT OUTER JOIN dbo.res_temportdaten AS res_temportdaten_8 ON dbo.Res_Resultat_Komplett.ort9 = res_temportdaten_8.EintragNr; + + UPDATE dbo._tmpres + SET best = 0 + WHERE best = '-0.01'; + + UPDATE dbo._tmpres + SET best = 0 + WHERE best = '-0.00'; + + --shu 20100527 + --update dbo._tmpres set best=0 where bestpunkte='0' + UPDATE dbo._tmpres + SET best = 0 + WHERE bestpunkte = '0' + AND best IS NULL; + + IF @resqw = 0 + AND @resew = 0 + BEGIN + DECLARE @qw VARCHAR(MAX); + DECLARE @rangliste VARCHAR(MAX); + DECLARE @reskat VARCHAR(MAX); + + DECLARE xc CURSOR + FOR + SELECT qw + ,Kategorie + ,rangliste + FROM Disziplin_Mapping ORDER BY Kategorie DESC; + + OPEN xc; + + FETCH NEXT + FROM xc + INTO @qw + ,@reskat + ,@rangliste; + + WHILE @@FETCH_STATUS = 0 + BEGIN + IF @reskat='' BEGIN + + UPDATE dbo._tmpres + SET Disziplin = @rangliste + WHERE Disziplin = @qw; + END; ELSE BEGIN + UPDATE dbo._tmpres + SET Disziplin = @rangliste + WHERE Disziplin = @qw AND kategorie=@reskat; + END; + + + FETCH NEXT + FROM xc + INTO @qw + ,@reskat + ,@rangliste; + END; + + CLOSE xc; + + DEALLOCATE xc; + + SELECT * + FROM dbo._tmpres; + END; + ELSE + BEGIN + PRINT 'res 2 start: ' + CONVERT(VARCHAR(12), DATEADD(ms, DATEDIFF(ms, @BatchStart, GETDATE()), 0), 114); + + EXECUTE dbo.res_resultate_aufbereiten_2 @u10u12 + ,@resqw + ,@resew + ,@resortnr; + + PRINT 'res 2 ende: ' + CONVERT(VARCHAR(12), DATEADD(ms, DATEDIFF(ms, @BatchStart, GETDATE()), 0), 114); + END; + + PRINT 'Ende: ' + CONVERT(VARCHAR(12), DATEADD(ms, DATEDIFF(ms, @BatchStart, GETDATE()), 0), 114); +END; +GO + +/****** Object: StoredProcedure [dbo].[res_resultate_aufbereiten_1] Script Date: 26.05.2021 06:45:44 ******/ +SET ANSI_NULLS ON +GO + +SET QUOTED_IDENTIFIER ON +GO + + +-- ============================================= +-- Author: +-- Create date: +-- Description: +-- ============================================= +CREATE PROCEDURE [dbo].[res_resultate_aufbereiten_1] @u10u12 VARCHAR(1) +AS +CREATE TABLE #tmpd ( + [ortnr] [int] NULL + ,[ortpt] [int] NULL + ,[hochbest] VARCHAR(50) + ) ON [PRIMARY] + +DECLARE @pnr INT +DECLARE @onr1 INT +DECLARE @opt1 INT +DECLARE @onr2 INT +DECLARE @opt2 INT +DECLARE @onr3 INT +DECLARE @opt3 INT +DECLARE @onr4 INT +DECLARE @opt4 INT +DECLARE @onr5 INT +DECLARE @opt5 INT +DECLARE @onr6 INT +DECLARE @opt6 INT +DECLARE @onr7 INT +DECLARE @opt7 INT +DECLARE @onr8 INT +DECLARE @opt8 INT +DECLARE @onr9 INT +DECLARE @opt9 INT +DECLARE @info1 VARCHAR(50) +DECLARE @info2 VARCHAR(50) +DECLARE @info3 VARCHAR(50) +DECLARE @info4 VARCHAR(50) +DECLARE @info5 VARCHAR(50) +DECLARE @info6 VARCHAR(50) +DECLARE @info7 VARCHAR(50) +DECLARE @info8 VARCHAR(50) +DECLARE @info9 VARCHAR(50) +DECLARE @onrbest INT +DECLARE @optbest INT +DECLARE @l VARCHAR(50) +DECLARE @disx VARCHAR(50) +DECLARE @info VARCHAR(50) +DECLARE @hv VARCHAR(50) +DECLARE @hb VARCHAR(50) +DECLARE @hb1 VARCHAR(50) +DECLARE @sl INT +DECLARE @batchstart DATETIME + +SET @batchstart = GETDATE() + +PRINT ' Res 1 Start: ' + CONVERT(VARCHAR(12), DATEADD(ms, DATEDIFF(ms, @BatchStart, getdate()), 0), 114) + +DECLARE x1 CURSOR +FOR +SELECT dbo.Res_Resultat_Komplett.EintragNr + ,dbo.Res_Resultat_Komplett.Disziplin + ,res_temportdaten_2.EintragNr AS Oort1Nr + ,res_temportdaten_2.Punkte AS Ort1Pt + ,res_temportdaten_2.Info AS Info1 + ,res_temportdaten_1.EintragNr AS Ort2Nr + ,res_temportdaten_1.Punkte AS Ort2Pt + ,res_temportdaten_1.Info AS Info2 + ,res_temportdaten_3.EintragNr AS Ort3Nr + ,res_temportdaten_3.Punkte AS Ort3Pt + ,res_temportdaten_3.Info AS Info3 + ,res_temportdaten_7.EintragNr AS Ort4Nr + ,res_temportdaten_7.Punkte AS Ort4Pt + ,res_temportdaten_7.Info AS Info4 + ,res_temportdaten_4.EintragNr AS Ort5Nr + ,res_temportdaten_4.Punkte AS Ort5Pt + ,res_temportdaten_4.Info AS Info5 + ,res_temportdaten_5.EintragNr AS Ort6Nr + ,res_temportdaten_5.Punkte AS Ort6Pt + ,res_temportdaten_5.Info AS Info6 + ,res_temportdaten_6.EintragNr AS OrtNr7 + ,res_temportdaten_6.Punkte AS OrtPt7 + ,res_temportdaten_6.Info AS Info7 + ,dbo.res_temportdaten.EintragNr AS OrtNr8 + ,dbo.res_temportdaten.Punkte AS OrtPt8 + ,dbo.res_temportdaten.Info AS Info8 + ,res_temportdaten_8.EintragNr AS OrtNr9 + ,res_temportdaten_8.Punkte AS OrtPt9 + ,res_temportdaten_8.Info AS Info9 + +FROM dbo.Res_Resultat_Komplett +LEFT OUTER JOIN dbo.res_temportdaten ON dbo.Res_Resultat_Komplett.ort8 = dbo.res_temportdaten.EintragNr +LEFT OUTER JOIN dbo.res_temportdaten AS res_temportdaten_6 ON dbo.Res_Resultat_Komplett.ort7 = res_temportdaten_6.EintragNr +LEFT OUTER JOIN dbo.res_temportdaten AS res_temportdaten_4 ON dbo.Res_Resultat_Komplett.ort5 = res_temportdaten_4.EintragNr +LEFT OUTER JOIN dbo.res_temportdaten AS res_temportdaten_5 ON dbo.Res_Resultat_Komplett.ort6 = res_temportdaten_5.EintragNr +LEFT OUTER JOIN dbo.res_temportdaten AS res_temportdaten_7 ON dbo.Res_Resultat_Komplett.ort4 = res_temportdaten_7.EintragNr +LEFT OUTER JOIN dbo.res_temportdaten AS res_temportdaten_3 ON dbo.Res_Resultat_Komplett.ort3 = res_temportdaten_3.EintragNr +LEFT OUTER JOIN dbo.res_temportdaten AS res_temportdaten_1 ON dbo.Res_Resultat_Komplett.ort2 = res_temportdaten_1.EintragNr +LEFT OUTER JOIN dbo.res_temportdaten AS res_temportdaten_2 ON dbo.Res_Resultat_Komplett.ort1 = res_temportdaten_2.EintragNr +LEFT OUTER JOIN dbo.res_temportdaten AS res_temportdaten_8 ON dbo.Res_Resultat_Komplett.ort9 = res_temportdaten_8.EintragNr + +OPEN x1 + +FETCH NEXT +FROM x1 +INTO @pnr + ,@disx + ,@onr1 + ,@opt1 + ,@info1 + ,@onr2 + ,@opt2 + ,@info2 + ,@onr3 + ,@opt3 + ,@info3 + ,@onr4 + ,@opt4 + ,@info4 + ,@onr5 + ,@opt5 + ,@info5 + ,@onr6 + ,@opt6 + ,@info6 + ,@onr7 + ,@opt7 + ,@info7 + ,@onr8 + ,@opt8 + ,@info8 + ,@onr9 + ,@opt9 + ,@info9 + +WHILE @@fetch_status = 0 +BEGIN + --if @disx='HOCH' begin + IF @disx = 'HOC' + BEGIN + INSERT #tmpd ( + ortnr + ,ortpt + ,[hochbest] + ) + VALUES ( + @onr1 + ,@opt1 + ,@info1 + ) + + INSERT #tmpd ( + ortnr + ,ortpt + ,[hochbest] + ) + VALUES ( + @onr2 + ,@opt2 + ,@info2 + ) + + INSERT #tmpd ( + ortnr + ,ortpt + ,[hochbest] + ) + VALUES ( + @onr3 + ,@opt3 + ,@info3 + ) + + INSERT #tmpd ( + ortnr + ,ortpt + ,[hochbest] + ) + VALUES ( + @onr4 + ,@opt4 + ,@info4 + ) + + INSERT #tmpd ( + ortnr + ,ortpt + ,[hochbest] + ) + VALUES ( + @onr5 + ,@opt5 + ,@info5 + ) + + INSERT #tmpd ( + ortnr + ,ortpt + ,[hochbest] + ) + VALUES ( + @onr6 + ,@opt6 + ,@info6 + ) + + INSERT #tmpd ( + ortnr + ,ortpt + ,[hochbest] + ) + VALUES ( + @onr7 + ,@opt7 + ,@info7 + ) + + INSERT #tmpd ( + ortnr + ,ortpt + ,[hochbest] + ) + VALUES ( + @onr8 + ,@opt8 + ,@info8 + ) + INSERT #tmpd ( + ortnr + ,ortpt + ,[hochbest] + ) + VALUES ( + @onr9 + ,@opt9 + ,@info9 + ) + END + ELSE + BEGIN + INSERT #tmpd ( + ortnr + ,ortpt + ,[hochbest] + ) + VALUES ( + @onr1 + ,@opt1 + ,'xxxx' + ) + + INSERT #tmpd ( + ortnr + ,ortpt + ,[hochbest] + ) + VALUES ( + @onr2 + ,@opt2 + ,'xxxx' + ) + + INSERT #tmpd ( + ortnr + ,ortpt + ,[hochbest] + ) + VALUES ( + @onr3 + ,@opt3 + ,'xxxx' + ) + + INSERT #tmpd ( + ortnr + ,ortpt + ,[hochbest] + ) + VALUES ( + @onr4 + ,@opt4 + ,'xxxx' + ) + + INSERT #tmpd ( + ortnr + ,ortpt + ,[hochbest] + ) + VALUES ( + @onr5 + ,@opt5 + ,'xxxx' + ) + + INSERT #tmpd ( + ortnr + ,ortpt + ,[hochbest] + ) + VALUES ( + @onr6 + ,@opt6 + ,'xxxx' + ) + + INSERT #tmpd ( + ortnr + ,ortpt + ,[hochbest] + ) + VALUES ( + @onr7 + ,@opt7 + ,'xxxx' + ) + + INSERT #tmpd ( + ortnr + ,ortpt + ,[hochbest] + ) + VALUES ( + @onr8 + ,@opt8 + ,'xxxx' + ) + INSERT #tmpd ( + ortnr + ,ortpt + ,[hochbest] + ) + VALUES ( + @onr9 + ,@opt9 + ,'xxxx' + ) + END + + SET @hv = '' + + SELECT TOP 1 @onrbest = ortnr + ,@optbest = ortpt + ,@hb = dbo.get_hochversuche(hochbest) + FROM #tmpd + ORDER BY ortpt DESC + ,hochbest ASC + + SELECT @l = leistung_aufbereitet + FROM dbo.res_temportdaten + WHERE eintragnr = @onrbest + + --if upper(@disx)='HOCH' begin + IF upper(@disx) = 'HOC' + BEGIN + SET @info = '' + + SELECT @info = dbo.get_hochversuche(info) + FROM dbo.res_temportdaten + WHERE eintragnr = @onr1 + + IF @info <> '' + BEGIN + IF @hv <> '' + SET @hv = @hv + ';' + SET @hv = @hv + @info + END + + SET @info = '' + + SELECT @info = dbo.get_hochversuche(info) + FROM dbo.res_temportdaten + WHERE eintragnr = @onr2 + + IF @info <> '' + BEGIN + IF @hv <> '' + SET @hv = @hv + ';' + SET @hv = @hv + @info + END + + SET @info = '' + + SELECT @info = dbo.get_hochversuche(info) + FROM dbo.res_temportdaten + WHERE eintragnr = @onr3 + + IF @info <> '' + BEGIN + IF @hv <> '' + SET @hv = @hv + ';' + SET @hv = @hv + @info + END + + SET @info = '' + + SELECT @info = dbo.get_hochversuche(info) + FROM dbo.res_temportdaten + WHERE eintragnr = @onr4 + + IF @info <> '' + BEGIN + IF @hv <> '' + SET @hv = @hv + ';' + SET @hv = @hv + @info + END + + SET @info = '' + + SELECT @info = dbo.get_hochversuche(info) + FROM dbo.res_temportdaten + WHERE eintragnr = @onr5 + + IF @info <> '' + BEGIN + IF @hv <> '' + SET @hv = @hv + ';' + SET @hv = @hv + @info + END + + SET @info = '' + + SELECT @info = dbo.get_hochversuche(info) + FROM dbo.res_temportdaten + WHERE eintragnr = @onr6 + + IF @info <> '' + BEGIN + IF @hv <> '' + SET @hv = @hv + ';' + SET @hv = @hv + @info + END + + SET @info = '' + + SELECT @info = dbo.get_hochversuche(info) + FROM dbo.res_temportdaten + WHERE eintragnr = @onr7 + + IF @info <> '' + BEGIN + IF @hv <> '' + SET @hv = @hv + ';' + SET @hv = @hv + @info + END + + SET @info = '' + + SELECT @info = dbo.get_hochversuche(info) + FROM dbo.res_temportdaten + WHERE eintragnr = @onr8 + + IF @info <> '' + BEGIN + IF @hv <> '' + SET @hv = @hv + ';' + SET @hv = @hv + @info + END + + SELECT @info = dbo.get_hochversuche(info) + FROM dbo.res_temportdaten + WHERE eintragnr = @onr9 + + IF @info <> '' + BEGIN + IF @hv <> '' + SET @hv = @hv + ';' + SET @hv = @hv + @info + END + END + + UPDATE dbo.res_resultat_komplett + SET best = @l + ,bestpunkte = @optbest + ,hochversuch = @hv + ,hochbest = @hb + WHERE eintragnr = @pnr + + TRUNCATE TABLE #tmpd + + FETCH NEXT + FROM x1 + INTO @pnr + ,@disx + ,@onr1 + ,@opt1 + ,@info1 + ,@onr2 + ,@opt2 + ,@info2 + ,@onr3 + ,@opt3 + ,@info3 + ,@onr4 + ,@opt4 + ,@info4 + ,@onr5 + ,@opt5 + ,@info5 + ,@onr6 + ,@opt6 + ,@info6 + ,@onr7 + ,@opt7 + ,@info7 + ,@onr8 + ,@opt8 + ,@info8 + ,@onr9 + ,@opt9 + ,@info9 + +END + +CLOSE x1 + +DEALLOCATE x1 + +PRINT ' Res1 Ende Teil 1: ' + CONVERT(VARCHAR(12), DATEADD(ms, DATEDIFF(ms, @BatchStart, getdate()), 0), 114) + +DECLARE @rang INT +DECLARE @kat VARCHAR(50) +DECLARE @kat1 VARCHAR(50) +DECLARE @dis VARCHAR(50) +DECLARE @dis1 VARCHAR(50) +DECLARE @pt FLOAT +DECLARE @pt1 FLOAT +DECLARE @enr INT +DECLARE @rang1 INT + +SET @kat = '' +SET @kat1 = '' +SET @dis = '' +SET @dis1 = '' +SET @pt = 0 +SET @pt1 = 0 +SET @rang = 0 +SET @rang1 = 1 +SET @hb = '' +SET @hb1 = '' + +IF @u10u12 = 'J' +BEGIN + UPDATE dbo.res_resultat_komplett + SET kategorie_kurzname = 'U12M' + WHERE kategorie_kurzname = 'U10M' + + UPDATE dbo.res_resultat_komplett + SET kategorie_kurzname = 'U12W' + WHERE kategorie_kurzname = 'U10W' +END + +DECLARE xc CURSOR +FOR +SELECT EintragNr + ,Kategorie_kurzname + ,Disziplin + ,sl + ,hochbest +FROM Res_Resultat_Komplett +ORDER BY Kategorie_kurzname + ,Disziplin + ,BestPunkte DESC + ,sl ASC + ,hochbest ASC + ,hochversuch ASC + +OPEN xc + +FETCH NEXT +FROM xc +INTO @enr + ,@kat + ,@dis + ,@pt + ,@hb + +WHILE @@fetch_status = 0 +BEGIN + IF @kat1 <> @kat + BEGIN + SET @kat1 = @kat + SET @rang = 0 + SET @rang1 = 1 + END + + IF @dis1 <> @dis + BEGIN + SET @dis1 = @dis + SET @rang = 0 + SET @rang1 = 1 + END + + IF @pt <> @pt1 + BEGIN + SET @pt1 = @pt + SET @rang = @rang1 + END + + --if @dis='HOCH' and (@hb <> @hb1) begin + IF @dis = 'HOC' + AND (@hb <> @hb1) + BEGIN + SET @hb1 = @hb + SET @rang = @rang1 + END + + SET @rang1 = @rang1 + 1 + + UPDATE dbo.res_resultat_komplett + SET rang = @rang + WHERE eintragnr = @enr + + FETCH NEXT + FROM xc + INTO @enr + ,@kat + ,@dis + ,@pt + ,@hb +END + +CLOSE xc + +DEALLOCATE xc + +PRINT ' Res1 End Teil 2: ' + CONVERT(VARCHAR(12), DATEADD(ms, DATEDIFF(ms, @BatchStart, getdate()), 0), 114) +GO + +/****** Object: StoredProcedure [dbo].[res_resultate_aufbereiten_2] Script Date: 26.05.2021 06:45:44 ******/ +SET ANSI_NULLS ON +GO + +SET QUOTED_IDENTIFIER ON +GO + + + + + +-- ============================================= +-- Author: +-- Create date: +-- Description: +-- ============================================= +CREATE PROCEDURE [dbo].[res_resultate_aufbereiten_2] +@u10u12 varchar(1), +@resqw int = 0, +@resew int = 0, +@resortnr int=0 +AS +BEGIN + +CREATE TABLE #tmpa( + [Rang] [int] NULL, + [name] [varchar](101) NULL, + [Jahrgang] [varchar](50) NULL, + [Lizenz] [varchar](50) NULL, + [Verein] [varchar](50) NULL, + [Kategorie_Kurzname] [varchar](50) NULL, + [Kategorie] [varchar](50) NULL, + [Disziplin] [varchar](50) NULL, + [F0] [varchar](50) NULL, + [F1] [varchar](50) NULL, + [F2] [varchar](50) NULL, + [F3] [varchar](50) NULL, + [F4] [varchar](50) NULL, + [F5] [varchar](50) NULL, + [F6] [varchar](50) NULL, + [F7] [varchar](50) NULL, + [Best] [varchar](50) NULL, + [BestPunkte] [int] NULL, + [Land] [varchar](50) NULL, + [hochversuch] [varchar](50) NULL, + [hochbest] [varchar](50) NULL, + [team] [varchar](50) NULL, + [pk] [int] IDENTITY(1,1) NOT NULL +) ON [PRIMARY] + + +CREATE TABLE #tmpr( + [Rang] [int] NULL, + [name] [varchar](101) NULL, + [Jahrgang] [varchar](50) NULL, + [Lizenz] [varchar](50) NULL, + [Verein] [varchar](50) NULL, + [Kategorie_Kurzname] [varchar](50) NULL, + [Kategorie] [varchar](50) NULL, + [Dis1] [varchar](50) NULL, + [Lei1] [varchar](50) NULL, + [Pun1] [varchar](50) NULL, + [Dis2] [varchar](50) NULL, + [Lei2] [varchar](50) NULL, + [Pun2] [varchar](50) NULL, + [Dis3] [varchar](50) NULL, + [Lei3] [varchar](50) NULL, + [Pun3] [varchar](50) NULL, + [Dis4] [varchar](50) NULL, + [Lei4] [varchar](50) NULL, + [Pun4] [varchar](50) NULL, + [Dis5] [varchar](50) NULL, + [Lei5] [varchar](50) NULL, + [Pun5] [varchar](50) NULL, + [Dis6] [varchar](50) NULL, + [Lei6] [varchar](50) NULL, + [Pun6] [varchar](50) NULL, + [Best] [varchar](50) NULL, + [team] [varchar](50) NULL, + [pk] [int] IDENTITY(1,1) NOT NULL + +) ON [PRIMARY] + + + if @resqw=1 begin + + goto qw + end + if @resew=1 begin + goto ew + end + +return + +qw: + insert into #tmpa SELECT dbo._tmpres.Rang, dbo._tmpres.name, dbo._tmpres.Jahrgang, dbo._tmpres.Lizenz, dbo._tmpres.Verein, dbo._tmpres.Kategorie_kurzname, dbo._tmpres.Kategorie, + dbo._tmpres.Disziplin, dbo._tmpres.F0, dbo._tmpres.F1, dbo._tmpres.F2, dbo._tmpres.F3, dbo._tmpres.F4, dbo._tmpres.F5, dbo._tmpres.F6, dbo._tmpres.F7, + dbo._tmpres.Best, dbo._tmpres.BestPunkte, dbo._tmpres.Land, dbo._tmpres.hochversuch, dbo._tmpres.hochbest, dbo._tmpres.team + FROM dbo.Res_Disziplin_Select INNER JOIN + dbo._tmpres ON dbo.Res_Disziplin_Select.Disziplin = dbo._tmpres.Disziplin AND dbo.Res_Disziplin_Select.Kategorie = dbo._tmpres.Kategorie_kurzname + WHERE (dbo.Res_Disziplin_Select.QW = 1) AND (dbo.Res_Disziplin_Select.OrtNr = @resortnr) + + declare @dis varchar(50) + declare @name varchar(50) + declare @jg varchar(50) + declare @lic varchar(50) + declare @verein varchar(50) + declare @kat_kurz varchar(50) + declare @kat varchar(50) + declare @dis1 varchar(50) + declare @cnt int + declare @katalt varchar(50) + declare @disalt varchar(50) + declare @fc int + declare @lei varchar(50) + declare @pun varchar(50) + declare @team varchar(50) + --20100525 + update #tmpa set team='Einzelstarter' where team like 'Einzelstarter%' + + set @katalt='' + set @disalt='' + set @fc =0 + declare xc cursor for select kategorie, disziplin from dbo.res_disziplin_select where ortnr=@resortnr and qw=1 order by kategorie, disziplin + open xc + fetch next from xc into @kat,@dis + while @@fetch_status=0 begin + if @kat<>@katalt begin + set @fc=0 + set @katalt=@kat + end + if @dis<>@disalt + set @fc=@fc+1 + declare xc1 cursor for select [name],[Jahrgang],[Lizenz],[Verein],[Kategorie_kurzname],[Kategorie],[Disziplin], best, bestpunkte, team + from #tmpa where kategorie_kurzname=@kat and disziplin=@dis + open xc1 + fetch next from xc1 into @name, @jg, @lic, @verein, @kat_kurz, @kat, @dis1, @lei, @pun, @team + while @@fetch_status = 0 begin + set @cnt=(Select pk from #tmpr where name=@name and jahrgang=@jg and lizenz=@lic) + if @cnt=0 or @cnt is null begin + insert #tmpr ([name],[Jahrgang],[Lizenz],[Verein],[Kategorie_kurzname],[Kategorie],[Dis1],[Lei1],[Pun1],[Dis2],[Lei2],[Pun2],[Dis3],[Lei3],[Pun3],[Dis4],[Lei4],[Pun4],[Dis5],[Lei5],[Pun5],[Dis6],[Lei6],[Pun6],[Best], team) + values (@name, @jg, @lic, @verein, @kat_kurz, @kat, '','','','','','','','','','','','','','','','','','',0,@team) + set @cnt=(select top 1 pk from #tmpr order by pk desc) + end + if @fc=1 begin + update #tmpr set lei1=@lei,dis1=@dis1, pun1=@pun where pk=@cnt + end + if @fc=2 begin + update #tmpr set lei2=@lei,dis2=@dis1, pun2=@pun where pk=@cnt + end + if @fc=3 begin + update #tmpr set lei3=@lei,dis3=@dis1, pun3=@pun where pk=@cnt + end + if @fc=4 begin + update #tmpr set lei4=@lei,dis4=@dis1, pun4=@pun where pk=@cnt + end + if @fc=5 begin + update #tmpr set lei5=@lei,dis5=@dis1, pun5=@pun where pk=@cnt + end + if @fc=6 begin + update #tmpr set lei6=@lei,dis6=@dis1, pun6=@pun where pk=@cnt + end + + fetch next from xc1 into @name, @jg, @lic, @verein, @kat_kurz, @kat, @dis1,@lei, @pun, @team + end + close xc1 + deallocate xc1 + if @fc=1 begin + update #tmpr set dis1=@dis1 where dis1='' and kategorie=@kat + end + if @fc=2 begin + update #tmpr set dis2=@dis1 where dis2='' and kategorie=@kat + end + if @fc=3 begin + update #tmpr set dis3=@dis1 where dis3='' and kategorie=@kat + end + if @fc=4 begin + update #tmpr set dis4=@dis1 where dis4='' and kategorie=@kat + end + if @fc=5 begin + update #tmpr set dis5=@dis1 where dis5='' and kategorie=@kat + end + if @fc=6 begin + update #tmpr set dis6=@dis1 where dis6='' and kategorie=@kat + end + + fetch next from xc into @kat,@dis + end + close xc + deallocate xc + + update #TMPR set best= CONVERT(int, Pun1) + CONVERT(int, Pun2) + CONVERT(int, Pun3) + CONVERT(int, Pun4) + CONVERT(int, Pun5) + CONVERT(int, Pun6) + + declare @rkatalt varchar(50) + declare @rkat varchar(50) + declare @rpk int + declare @rang int + declare @rang1 int + declare @rbest int + declare @rbest1 int + set @rkatalt='' + set @rang=0 + set @rang1=0 + set @rbest=0 + set @rbest1=0 + + declare xx cursor for select pk, kategorie_kurzname, convert(int, best) from #tmpr order by kategorie_kurzname, convert(int, best) desc + open xx + fetch next from xx into @rpk, @rkat, @rbest + while @@fetch_status = 0 begin + if @rkatalt<>@rkat begin + set @rkatalt=@rkat + set @rang=0 + end + set @rang=@rang+1 + if @rbest <> @rbest1 begin + set @rbest1=@rbest + set @rang1=@rang + end + update #tmpr set rang=@rang1 where pk=@rpk + fetch next from xx into @rpk, @rkat, @rbest + end + close xx + deallocate xx + + + declare @qw varchar(max) + declare @rangliste varchar(max) + + declare xc cursor for + select qw, rangliste from Disziplin_Mapping + open xc + fetch next from xc into @qw,@rangliste + while @@FETCH_STATUS=0 begin + update #tmpr set dis1=@rangliste where dis1=@qw + update #tmpr set dis2=@rangliste where dis2=@qw + update #tmpr set dis3=@rangliste where dis3=@qw + update #tmpr set dis4=@rangliste where dis4=@qw + update #tmpr set dis5=@rangliste where dis5=@qw + + fetch next from xc into @qw,@rangliste + end + close xc + deallocate xc + update #tmpr set pun4=0, lei4=0 where lei4='' + update #tmpr set pun3=0, lei3=0 where lei3='' + update #tmpr set pun2='0', lei2='0' where lei2='' + update #tmpr set pun1=0, lei1=0 where lei1='' + + select * from #tmpr order by kategorie_kurzname, rang + --select * into _mehrkampf from #tmpr + drop table #tmpa + drop table #tmpr + + return +ew: + +print 'ew' + insert into #tmpa SELECT dbo._tmpres.Rang, dbo._tmpres.name, dbo._tmpres.Jahrgang, dbo._tmpres.Lizenz, dbo._tmpres.Verein, dbo._tmpres.Kategorie_kurzname, dbo._tmpres.Kategorie, + dbo._tmpres.Disziplin, dbo._tmpres.F0, dbo._tmpres.F1, dbo._tmpres.F2, dbo._tmpres.F3, dbo._tmpres.F4, dbo._tmpres.F5, dbo._tmpres.F6, dbo._tmpres.F7, + dbo._tmpres.Best, dbo._tmpres.BestPunkte, dbo._tmpres.Land, dbo._tmpres.hochversuch, dbo._tmpres.hochbest, dbo._tmpres.team + FROM dbo.Res_Disziplin_Select INNER JOIN + dbo._tmpres ON dbo.Res_Disziplin_Select.Disziplin = dbo._tmpres.Disziplin AND dbo.Res_Disziplin_Select.Kategorie = dbo._tmpres.Kategorie_kurzname + WHERE (dbo.Res_Disziplin_Select.eg = 1) AND (dbo.Res_Disziplin_Select.OrtNr = @resortnr) + + + declare @jj int + declare @pk int + declare @sjj varchar(2) + declare k cursor for + select pk, kategorie_kurzname, jahrgang from #tmpa + open k + fetch next from k into @pk, @kat, @jg + while @@fetch_status=0 begin + set @kat=substring(@kat,4,1) + set @jj=year(getdate())-@jg + + if @jj<7 set @jj=7 + set @sjj=LTRIM(rtrim(str(@jj))) + while LEN(@sjj) < 2 set @sjj='0'+@sjj + if @kat='M' set @kat='M'+@sjj else set @kat='W'+@sjj + + + update #tmpa set kategorie_kurzname=@kat where pk=@pk + fetch next from k into @pk, @kat, @jg + end + close k + deallocate k + + set @katalt='' + set @disalt='' + set @fc =0 + declare xc cursor for select distinct kategorie_kurzname, disziplin from #tmpa order by kategorie_kurzname, disziplin + open xc + fetch next from xc into @kat,@dis + while @@fetch_status=0 begin + if @kat<>@katalt begin + set @fc=0 + set @katalt=@kat + end + if @dis<>@disalt + set @fc=@fc+1 + declare xc1 cursor for select [name],[Jahrgang],[Lizenz],[Verein],[Kategorie_kurzname],[Kategorie],[Disziplin], best, bestpunkte, team + from #tmpa where kategorie_kurzname=@kat and disziplin=@dis + open xc1 + fetch next from xc1 into @name, @jg, @lic, @verein, @kat_kurz, @kat, @dis1, @lei, @pun, @team + while @@fetch_status = 0 begin + set @cnt=(Select pk from #tmpr where name=@name and jahrgang=@jg and lizenz=@lic) + if @cnt=0 or @cnt is null begin + insert #tmpr ([name],[Jahrgang],[Lizenz],[Verein],[Kategorie_kurzname],[Kategorie],[Dis1],[Lei1],[Pun1],[Dis2],[Lei2],[Pun2],[Dis3],[Lei3],[Pun3],[Dis4],[Lei4],[Pun4],[Dis5],[Lei5],[Pun5],[Dis6],[Lei6],[Pun6],[Best],team) + values (@name, @jg, @lic, @verein, @kat_kurz, @kat, '','','','','','','','','','','','','','','','','','',0,@team) + set @cnt=(select top 1 pk from #tmpr order by pk desc) + end + if @fc=1 begin + update #tmpr set lei1=@lei,dis1=@dis1, pun1=@pun where pk=@cnt + end + if @fc=2 begin + update #tmpr set lei2=@lei,dis2=@dis1, pun2=@pun where pk=@cnt + end + if @fc=3 begin + update #tmpr set lei3=@lei,dis3=@dis1, pun3=@pun where pk=@cnt + end + if @fc=4 begin + update #tmpr set lei4=@lei,dis4=@dis1, pun4=@pun where pk=@cnt + end + if @fc=5 begin + update #tmpr set lei5=@lei,dis5=@dis1, pun5=@pun where pk=@cnt + end + if @fc=6 begin + update #tmpr set lei6=@lei,dis6=@dis1, pun6=@pun where pk=@cnt + end + + fetch next from xc1 into @name, @jg, @lic, @verein, @kat_kurz, @kat, @dis1,@lei, @pun,@team + end + close xc1 + deallocate xc1 + if @fc=1 begin + update #tmpr set dis1=@dis1 where dis1='' and kategorie_kurzname=@kat_kurz + end + if @fc=2 begin + update #tmpr set dis2=@dis1 where dis2='' and kategorie_kurzname=@kat_kurz + end + if @fc=3 begin + update #tmpr set dis3=@dis1 where dis3='' and kategorie_kurzname=@kat_kurz + end + if @fc=4 begin + update #tmpr set dis4=@dis1 where dis4='' and kategorie_kurzname=@kat_kurz + end + if @fc=5 begin + update #tmpr set dis5=@dis1 where dis5='' and kategorie_kurzname=@kat_kurz + end + if @fc=6 begin + update #tmpr set dis6=@dis1 where dis6='' and kategorie_kurzname=@kat_kurz + end + fetch next from xc into @kat,@dis + end + close xc + deallocate xc + + update #TMPR set best= CONVERT(int, Pun1) + CONVERT(int, Pun2) + CONVERT(int, Pun3) + CONVERT(int, Pun4) + CONVERT(int, Pun5) + CONVERT(int, Pun6) + set @rkatalt='' + set @rang=0 + set @rang1=0 + set @rbest=0 + set @rbest1=0 + declare xx cursor for select pk, kategorie_kurzname, convert(int, best) from #tmpr order by kategorie_kurzname, convert(int, best) desc + open xx + fetch next from xx into @rpk, @rkat, @rbest + while @@fetch_status = 0 begin + if @rkatalt<>@rkat begin + set @rkatalt=@rkat + set @rang=0 + end + set @rang=@rang+1 + if @rbest <> @rbest1 begin + set @rbest1=@rbest + set @rang1=@rang + end + update #tmpr set rang=@rang1 where pk=@rpk + fetch next from xx into @rpk, @rkat, @rbest + end + close xx + deallocate xx + + update #tmpr set pun5=0, lei5=0 where lei5='' + update #tmpr set pun4=0, lei4=0 where lei4='' + update #tmpr set pun3=0, lei3=0 where lei3='' + update #tmpr set pun2='0', lei2='0' where lei2='' + update #tmpr set pun1=0, lei1=0 where lei1='' + + declare @a varchar(50) + declare @b varchar(50) + declare @kat_kurzname varchar(50) + declare xc cursor for select distinct kategorie_kurzname from #tmpr + open XC + fetch next from xc into @kat_kurzname + while @@fetch_status=0 begin + set @a='' + select @a=dis1 from #tmpr where kategorie_kurzname=@kat_kurzname and dis1<>''order by dis1 desc + print @kat_kurzname + ':' + @a + if @a='' begin + update #tmpr set dis1='', lei1='',pun1='' where kategorie_kurzname=@kat_kurzname + end else begin + update #tmpr set dis1=@a where kategorie_kurzname=@kat_kurzname + end + set @a='' + select @a=dis2 from #tmpr where kategorie_kurzname=@kat_kurzname and dis2<>'' order by dis2 desc + if @a='' begin + update #tmpr set dis2='', lei2='',pun2='' where kategorie_kurzname=@kat_kurzname + end else begin + update #tmpr set dis2=@a where kategorie_kurzname=@kat_kurzname + end + set @a='' + select @a=dis3 from #tmpr where kategorie_kurzname=@kat_kurzname and dis3<>'' order by dis3 desc + if @a='' begin + update #tmpr set dis3='', lei3='',pun3='' where kategorie_kurzname=@kat_kurzname + end else begin + update #tmpr set dis3=@a where kategorie_kurzname=@kat_kurzname + end + set @a='' + select @a=dis4 from #tmpr where kategorie_kurzname=@kat_kurzname and dis4<>'' order by dis4 desc + if @a='' begin + update #tmpr set dis4='', lei4='',pun4='' where kategorie_kurzname=@kat_kurzname + end else begin + update #tmpr set dis4=@a where kategorie_kurzname=@kat_kurzname + end + set @a='' + select @a=dis5 from #tmpr where kategorie_kurzname=@kat_kurzname and dis5<>'' order by dis5 desc + + if @a='' begin + update #tmpr set dis5='', lei5='',pun5='' where kategorie_kurzname=@kat_kurzname + end else begin + update #tmpr set dis5=@a where kategorie_kurzname=@kat_kurzname + end + fetch next from xc into @kat_kurzname + end + close xc + deallocate xc + + + declare xc cursor for + select qw, rangliste from Disziplin_Mapping + open xc + fetch next from xc into @qw,@rangliste + while @@FETCH_STATUS=0 begin + update #tmpr set dis1=@rangliste where dis1=@qw + update #tmpr set dis2=@rangliste where dis2=@qw + update #tmpr set dis3=@rangliste where dis3=@qw + update #tmpr set dis4=@rangliste where dis4=@qw + update #tmpr set dis5=@rangliste where dis5=@qw + + fetch next from xc into @qw,@rangliste + end + close xc + deallocate xc + select * from #tmpr order by kategorie_kurzname, rang + drop table #tmpa + drop table #tmpr + + +END + + + + +GO + +/****** Object: StoredProcedure [dbo].[res_set_disziplin_select] Script Date: 26.05.2021 06:45:44 ******/ +SET ANSI_NULLS ON +GO + +SET QUOTED_IDENTIFIER ON +GO + + + + +-- ============================================= +-- Author: +-- Create date: +-- Description: +-- ============================================= +CREATE PROCEDURE [dbo].[res_set_disziplin_select] +@ortnr int +as +insert dbo.res_disziplin_select + + (ortnr, kategorie, disziplin, qw, eg, bestenliste) +select distinct @ortnr as ortnr, kategorie_kurzname, disziplin, 0 as qw, 0 as eg, 0 as bestenliste +from dbo.res_resultate +where ortnr=@ortnr + + + + +GO + diff --git a/20210526_Scripts_Update/funktionen.sql b/20210526_Scripts_Update/funktionen.sql new file mode 100644 index 0000000..22c9f5f --- /dev/null +++ b/20210526_Scripts_Update/funktionen.sql @@ -0,0 +1,258 @@ +USE [qw2021] +GO + +/****** Object: UserDefinedFunction [dbo].[calc_leistung] Script Date: 26.05.2021 06:43:15 ******/ +SET ANSI_NULLS ON +GO + +SET QUOTED_IDENTIFIER ON +GO + + +-- ============================================= +-- Author: +-- Create date: +-- Description: +-- ============================================= +CREATE FUNCTION [dbo].[calc_leistung] ( + @type VARCHAR(255) + ,@wert VARCHAR(MAX) + ) +RETURNS INT +AS +BEGIN + DECLARE @min INT; + DECLARE @sek INT; + DECLARE @hs INT; + DECLARE @m INT + DECLARE @cm INT + DECLARE @timestring VARCHAR(MAX); + DECLARE @pos INT + + SET @timestring = @wert + + IF @type = 'MM:SS:HS' + BEGIN + IF LEN(@timestring) = 8 + SET @timestring = '00:' + @timestring; + + IF LEN(@timestring) = 5 + SET @timestring = '00:00:' + @timestring; + SET @min = DATEPART(MINUTE, @timestring); + SET @sek = DATEPART(SECOND, @timestring); + SET @hs = DATEPART(millisecond, @timestring); + SET @min = @min * 1000 * 60; + SET @sek = @sek * 1000; + SET @hs = @hs * 10; + + RETURN @min + @sek + @hs; + END; + + IF @type = 'SS:HS' + BEGIN + SET @timestring = @wert + SET @timestring = replace(@timestring, '.', ':'); + + IF len(@timestring) = 4 + SET @timestring = '00:00:0' + @timestring + + IF len(@timestring) = 5 + SET @timestring = '00:00:' + @timestring + SET @min = DATEPART(MINUTE, @timestring); + SET @sek = DATEPART(SECOND, @timestring); + SET @hs = DATEPART(millisecond, @timestring); + SET @min = @min * 1000 * 60; + SET @sek = @sek * 1000; + SET @hs = @hs * 10; + + RETURN @min + @sek + @hs; + END + + IF @type = 'MM.CM' + BEGIN + SET @timestring = @wert + + IF len(@timestring) = 4 + SET @timestring = '0' + @timestring + SET @pos = charindex('.', @timestring) + SET @m = SUBSTRING(@timestring, 1, @pos - 1) + SET @cm = SUBSTRING(@timestring, @pos+1, 2) + SET @m = @m * 100 + + RETURN @m + @cm + + + END; +return 0 +end +GO + +/****** Object: UserDefinedFunction [dbo].[leistungen_rechnen] Script Date: 26.05.2021 06:43:15 ******/ +SET ANSI_NULLS ON +GO + +SET QUOTED_IDENTIFIER ON +GO + + +-- ============================================= +-- Author: +-- Create date: +-- Description: +-- ============================================= +CREATE FUNCTION [dbo].[leistungen_rechnen] ( + @disziplin VARCHAR(255) + ,@Resultat VARCHAR(255) + ) +RETURNS INT +AS +BEGIN + DECLARE @res INT; + DECLARE @hh VARCHAR(2); + DECLARE @mm VARCHAR(2); + DECLARE @ss VARCHAR(2); + DECLARE @hs VARCHAR(2); + DECLARE @p INT; + DECLARE @me VARCHAR(2); + DECLARE @cm VARCHAR(2); + DECLARE @resstring VARCHAR(255); + declare @2p int + IF @disziplin IN ( + '10H' + ,'60M' + ,'600' + ,'60H' + ,'80M' + ,'80H' + ) + BEGIN + SET @resstring = @Resultat; + SET @p = CHARINDEX('.', @resstring); + if @p=0 set @resstring=@resstring+'.00' + SET @p = CHARINDEX('.', @resstring); + SET @2p = CHARINDEX(':', @resstring); + + IF @p > 0 and @2p=0 + BEGIN + SET @ss = SUBSTRING(@resstring, 1, @p - 1); + SET @hs = SUBSTRING(@resstring, @p + 1, LEN(@resstring) - @p); + + IF LEN(@ss) = 1 + SET @ss = '0' + @ss; + + IF LEN(@hs) = 1 + SET @hs = @hs + '0'; + SET @res = (@ss * 1000) + @hs * 10; + END + ELSE + BEGIN + SET @p = CHARINDEX(':', @resstring) + + IF @p > 0 + BEGIN + IF len(@resstring) = 7 + SET @resstring = '0' + @resstring + SET @mm = SUBSTRING(@resstring, 1, 2) + SET @ss = SUBSTRING(@resstring, 4, 2) + SET @hs = SUBSTRING(@resstring, 7, 2) + SET @res = (@mm * 60 * 100) + (@ss * 100) + (@hs ) + set @res=@res*10 + END + END; + END + ELSE + BEGIN + SET @resstring = @Resultat + SET @p = CHARINDEX('.', @resstring) + if @p=0 set @resstring=@resstring+'.00' + SET @p = CHARINDEX('.', @resstring) + + SET @ME = SUBSTRING(@resstring, 1, @p - 1); + SET @CM = SUBSTRING(@resstring, @p + 1, LEN(@resstring) - @p); + + IF LEN(@me) = 1 + SET @me = '0' + @me + + IF LEN(@cm) = 1 + SET @cm = @cm + '0' + SET @res = ((@me * 100) + @cm)*10 + END + + RETURN @res; +END; +GO + +/****** Object: UserDefinedFunction [dbo].[Punkte_Rechnen] Script Date: 26.05.2021 06:43:15 ******/ +SET ANSI_NULLS ON +GO + +SET QUOTED_IDENTIFIER ON +GO + +-- ============================================= +-- Author: +-- Create date: +-- Description: +-- ============================================= +CREATE FUNCTION [dbo].[Punkte_Rechnen] +( + @geschlecht VARCHAR(255), + @disziplin VARCHAR(255), + @Wert VARCHAR(255) + +) +RETURNS float +BEGIN + + DECLARE @awert DECIMAL(20,10) + DECLARE @bwert DECIMAL(20,2) + DECLARE @cwert DECIMAL(20,3) + DECLARE @tempwert DECIMAL(38,15) + DECLARE @result DECIMAL(38,15) + DECLARE @werte_disziplin VARCHAR(20) + + SET @werte_disziplin=@disziplin + IF @disziplin='BAL' SET @Werte_Disziplin='BALL' + IF @disziplin='WEZ' SET @werte_disziplin='WEIT' + IF @disziplin='600' SET @werte_disziplin='600' + SELECT @awert=awert, @bwert=bwert,@cwert=cwert FROM dbo.WerteTabelle WHERE gender=@geschlecht AND disziplin=@werte_disziplin + + + IF @werte_disziplin IN ('Weit','Drei','Stab','Kugel','Speer','Diskus','Hammer','Ball','Hoch') BEGIN + set @tempwert=-1 + SET @tempwert = TRY_CAST(REPLACE(@WERT, ',', '') AS decimal(10, 8)) + if @tempwert is null set @tempwert=@wert + SET @result=power(((@tempwert-@bwert)/100),@cwert) + SET @result=@awert*@result + END + IF @Werte_Disziplin IN ('50','60','80','100','200','300','400','600','800','1000','1500','2000','3000','5000','1000','50H','60h','80h','100h','110h','300h','400h','1500 St','2000 St','3000 St','4x100','4x400') begin + DECLARE @t TIME + IF LEN(@wert)=5 BEGIN + SET @wert='00:00:'+@Wert + end + if len(@wert)=4 begin + set @wert='00:00:0'+@wert; + end + wHILE LEN(@wert)<8 begin + SET @wert='00:'+@wert + end + set @wert=replace(@wert,',','.') + SET @t=CONVERT( TIME, @wert); + DECLARE @hs INTEGER + SET @hs=0 + + SET @hs=@hs+DATEPART(MINUTE,@t)*60*100 + SET @hs=@hs+DATEPART(Second,@t)*100 + SET @hs=@hs+DATEPART(MILLISECOND,@t)/10 + SET @tempwert=@hs + SET @result=power(((@bwert - @tempwert)/100),@cwert) + SET @result=@awert*@result + end + --SET @result= (@tempwert-@bwert)/100 + --SET @result=POWER(@tempwert,@cwert) + + RETURN @result + +END +GO + diff --git a/20210526_Scripts_Update/tabellen.sql b/20210526_Scripts_Update/tabellen.sql new file mode 100644 index 0000000..95ad8bf --- /dev/null +++ b/20210526_Scripts_Update/tabellen.sql @@ -0,0 +1,295 @@ +USE [qw2021] +GO + +/****** Object: Table [dbo].[_tmpres] Script Date: 26.05.2021 06:54:11 ******/ +SET ANSI_NULLS ON +GO + +SET QUOTED_IDENTIFIER ON +GO + +CREATE TABLE [dbo].[_tmpres]( + [Rang] [int] NULL, + [name] [varchar](101) NULL, + [Jahrgang] [varchar](50) NULL, + [Lizenz] [varchar](50) NULL, + [Verein] [varchar](50) NULL, + [Kategorie_kurzname] [varchar](50) NULL, + [Kategorie] [varchar](50) NULL, + [Disziplin] [varchar](50) NULL, + [F0] [varchar](50) NULL, + [F1] [varchar](50) NULL, + [F2] [varchar](50) NULL, + [F3] [varchar](50) NULL, + [F4] [varchar](50) NULL, + [F5] [varchar](50) NULL, + [F6] [varchar](50) NULL, + [F7] [varchar](50) NULL, + [F8] [varchar](50) NULL, + [Best] [varchar](50) NULL, + [BestPunkte] [int] NULL, + [Land] [varchar](50) NULL, + [hochversuch] [varchar](50) NULL, + [hochbest] [varchar](50) NULL, + [team] [varchar](50) NULL +) ON [PRIMARY] +GO + +/****** Object: Table [dbo].[Disziplin_Mapping] Script Date: 26.05.2021 06:54:11 ******/ +SET ANSI_NULLS ON +GO + +SET QUOTED_IDENTIFIER ON +GO + +CREATE TABLE [dbo].[Disziplin_Mapping]( + [DisziplinMappingNr] [int] IDENTITY(1,1) NOT NULL, + [Kategorie] [varchar](max) NULL, + [QW] [varchar](max) NULL, + [Rangliste] [varchar](max) NULL, + [Resulttype] [varchar](max) NULL, + [Leistungsrechnerformel] [varchar](max) NULL, + CONSTRAINT [PK_Disziplin_Mapping] PRIMARY KEY CLUSTERED +( + [DisziplinMappingNr] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON, OPTIMIZE_FOR_SEQUENTIAL_KEY = OFF) ON [PRIMARY] +) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY] +GO + +/****** Object: Table [dbo].[Res_Disziplin_Select] Script Date: 26.05.2021 06:54:11 ******/ +SET ANSI_NULLS ON +GO + +SET QUOTED_IDENTIFIER ON +GO + +CREATE TABLE [dbo].[Res_Disziplin_Select]( + [Res_Diszipllin_SelectNr] [int] IDENTITY(1,1) NOT NULL, + [OrtNr] [int] NULL, + [Kategorie] [varchar](50) NULL, + [Disziplin] [varchar](50) NULL, + [QW] [bit] NULL, + [EG] [bit] NULL, + [Bestenliste] [bit] NULL, + CONSTRAINT [PK_Res_Disziplin_Select] PRIMARY KEY CLUSTERED +( + [Res_Diszipllin_SelectNr] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON, OPTIMIZE_FOR_SEQUENTIAL_KEY = OFF) ON [PRIMARY] +) ON [PRIMARY] +GO + +/****** Object: Table [dbo].[Res_Ort] Script Date: 26.05.2021 06:54:11 ******/ +SET ANSI_NULLS ON +GO + +SET QUOTED_IDENTIFIER ON +GO + +CREATE TABLE [dbo].[Res_Ort]( + [OrtNr] [int] IDENTITY(1,1) NOT NULL, + [Ort] [varchar](50) NULL, + [Sort] [int] NULL, + CONSTRAINT [PK_Res_Ort] PRIMARY KEY CLUSTERED +( + [OrtNr] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON, OPTIMIZE_FOR_SEQUENTIAL_KEY = OFF) ON [PRIMARY] +) ON [PRIMARY] +GO + +/****** Object: Table [dbo].[Res_Resultat_Komplett] Script Date: 26.05.2021 06:54:11 ******/ +SET ANSI_NULLS ON +GO + +SET QUOTED_IDENTIFIER ON +GO + +CREATE TABLE [dbo].[Res_Resultat_Komplett]( + [EintragNr] [int] IDENTITY(1,1) NOT NULL, + [Nachname] [varchar](50) NULL, + [Vorname] [varchar](50) NULL, + [Jahrgang] [varchar](50) NULL, + [Land] [varchar](50) NULL, + [Verein] [varchar](50) NULL, + [Lizenz] [varchar](50) NULL, + [Kategorie_Kurzname] [varchar](50) NULL, + [Kategorie] [varchar](50) NULL, + [Disziplin] [varchar](50) NULL, + [ort1] [int] NULL, + [ort2] [int] NULL, + [ort3] [int] NULL, + [ort4] [int] NULL, + [ort5] [int] NULL, + [ort6] [int] NULL, + [ort7] [int] NULL, + [ort8] [int] NULL, + [ort9] [int] NULL, + [ort10] [int] NULL, + [Best] [varchar](50) NULL, + [Rang] [int] NULL, + [BestPunkte] [int] NULL, + [HochVersuch] [varchar](50) NULL, + [Hochbest] [varchar](50) NULL, + [Team] [varchar](50) NULL, + [SL] [int] NULL, +PRIMARY KEY CLUSTERED +( + [EintragNr] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON, OPTIMIZE_FOR_SEQUENTIAL_KEY = OFF) ON [PRIMARY] +) ON [PRIMARY] +GO + +/****** Object: Table [dbo].[RES_RESULTATE] Script Date: 26.05.2021 06:54:11 ******/ +SET ANSI_NULLS ON +GO + +SET QUOTED_IDENTIFIER ON +GO + +CREATE TABLE [dbo].[RES_RESULTATE]( + [EintragNr] [int] IDENTITY(1,1) NOT NULL, + [OrtNr] [int] NULL, + [Rang] [varchar](50) NOT NULL, + [Nachname] [varchar](50) NULL, + [Vorname] [varchar](50) NULL, + [Jahrgang] [varchar](50) NULL, + [Land] [varchar](50) NULL, + [Verein] [varchar](50) NULL, + [Lizenz] [varchar](50) NULL, + [Kategorie_kurzname] [varchar](50) NULL, + [Kategorie] [varchar](50) NULL, + [Position] [varchar](50) NULL, + [Bahn] [varchar](50) NULL, + [Qualifikation] [varchar](50) NULL, + [Serie] [varchar](50) NULL, + [Disziplin] [varchar](50) NULL, + [Leistung] [varchar](50) NULL, + [Info] [varchar](50) NULL, + [Punkte] [float] NULL, + [Wind] [varchar](50) NULL, + [Nicht_Beruecksichtigen] [bit] NULL, + [Nur_Erdgas] [bit] NULL, + [Team] [varchar](50) NULL, + CONSTRAINT [PK_RES_RESULTATE_1] PRIMARY KEY CLUSTERED +( + [EintragNr] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON, OPTIMIZE_FOR_SEQUENTIAL_KEY = OFF) ON [PRIMARY] +) ON [PRIMARY] +GO + +/****** Object: Table [dbo].[Res_Resultate_neu] Script Date: 26.05.2021 06:54:11 ******/ +SET ANSI_NULLS ON +GO + +SET QUOTED_IDENTIFIER ON +GO + +CREATE TABLE [dbo].[Res_Resultate_neu]( + [EintragNr] [int] IDENTITY(1,1) NOT NULL, + [OrtNr] [int] NULL, + [Rang] [varchar](50) NOT NULL, + [Nachname] [varchar](50) NULL, + [Vorname] [varchar](50) NULL, + [Jahrgang] [varchar](50) NULL, + [Land] [varchar](50) NULL, + [Verein] [varchar](50) NULL, + [Lizenz] [varchar](50) NULL, + [Kategorie_kurzname] [varchar](50) NULL, + [Kategorie] [varchar](50) NULL, + [Position] [varchar](50) NULL, + [Bahn] [varchar](50) NULL, + [Qualifikation] [varchar](50) NULL, + [Serie] [varchar](50) NULL, + [Disziplin] [varchar](50) NULL, + [Leistung] [varchar](50) NULL, + [Info] [varchar](50) NULL, + [Punkte] [float] NULL, + [Wind] [varchar](50) NULL, + [Nicht_Beruecksichtigen] [bit] NULL, + [Nur_Erdgas] [bit] NULL, + [Team] [varchar](50) NULL, + CONSTRAINT [PK_Res_Resultate] PRIMARY KEY CLUSTERED +( + [EintragNr] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON, OPTIMIZE_FOR_SEQUENTIAL_KEY = OFF) ON [PRIMARY] +) ON [PRIMARY] +GO + +/****** Object: Table [dbo].[Res_TAF_Import] Script Date: 26.05.2021 06:54:11 ******/ +SET ANSI_NULLS ON +GO + +SET QUOTED_IDENTIFIER ON +GO + +CREATE TABLE [dbo].[Res_TAF_Import]( + [type] [varchar](max) NULL, + [bib] [varchar](max) NULL, + [code] [varchar](max) NULL, + [firstname] [varchar](max) NULL, + [lastname] [varchar](max) NULL, + [yob] [varchar](max) NULL, + [gender] [varchar](max) NULL, + [relaynumber] [varchar](max) NULL, + [relayname] [varchar](max) NULL, + [nation] [varchar](max) NULL, + [clubname] [varchar](max) NULL, + [clubcode] [varchar](max) NULL, + [clubnation] [varchar](max) NULL, + [event] [varchar](max) NULL, + [eventinfo] [varchar](max) NULL, + [class] [varchar](max) NULL, + [notcompletet] [varchar](max) NULL, + [result] [varchar](max) NULL, + [wind] [varchar](max) NULL, + [heatrank] [varchar](max) NULL, + [roundrank] [varchar](max) NULL, + [heatnr] [varchar](max) NULL, + [lane] [varchar](max) NULL, + [SinglePoints] [varchar](max) NULL, + [OrtNr] [varchar](max) NULL, + [Leistung] [int] NULL +) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY] +GO + +/****** Object: Table [dbo].[res_temportdaten] Script Date: 26.05.2021 06:54:11 ******/ +SET ANSI_NULLS ON +GO + +SET QUOTED_IDENTIFIER ON +GO + +CREATE TABLE [dbo].[res_temportdaten]( + [EintragNr] [int] IDENTITY(1,1) NOT NULL, + [EintragParent] [int] NULL, + [Position] [varchar](50) NULL, + [Bahn] [varchar](50) NULL, + [Qualifikation] [varchar](50) NULL, + [Serie] [varchar](50) NULL, + [Leistung] [varchar](50) NULL, + [Info] [varchar](50) NULL, + [Punkte] [varchar](50) NULL, + [Wind] [varchar](50) NULL, + [Leistung_Aufbereitet] [varchar](50) NULL, +PRIMARY KEY CLUSTERED +( + [EintragNr] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON, OPTIMIZE_FOR_SEQUENTIAL_KEY = OFF) ON [PRIMARY] +) ON [PRIMARY] +GO + +/****** Object: Table [dbo].[WerteTabelle] Script Date: 26.05.2021 06:54:11 ******/ +SET ANSI_NULLS ON +GO + +SET QUOTED_IDENTIFIER ON +GO + +CREATE TABLE [dbo].[WerteTabelle]( + [Disziplin] [varchar](max) NULL, + [AWert] [float] NULL, + [BWert] [float] NULL, + [CWert] [float] NULL, + [Gender] [varchar](max) NULL +) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY] +GO + diff --git a/Administration/Vereine_Manuell.aspx b/Administration/Vereine_Manuell.aspx index 6395c5d..cf3c851 100644 --- a/Administration/Vereine_Manuell.aspx +++ b/Administration/Vereine_Manuell.aspx @@ -3,7 +3,7 @@ <%@ Register Assembly="Syncfusion.EJ, Version=18.3460.0.35, Culture=neutral, PublicKeyToken=3d67ed1f87d44c89" Namespace="Syncfusion.JavaScript.Models" TagPrefix="ej" %> <%@ Register assembly="Syncfusion.EJ" namespace="Syncfusion.JavaScript.Models" tagprefix="ej" %> -

Anmeldung

+

Vereine (manuell)

diff --git a/QW2021C.csproj b/QW2021C.csproj index 8f98b6c..770edbe 100644 --- a/QW2021C.csproj +++ b/QW2021C.csproj @@ -739,46 +739,28 @@ CrystalReport1.rpt Component - - True - True - UKC.rpt - Component - - - Rpt_Auswertung_Gesamt_Top_24.rpt + + Rpt_Auswertung_Gesamt_top_24.rpt True Component True - - Rpt_Auswertung_Gesamt_Top_20.rpt + + Rpt_Auswertung_Gesamt_top_20.rpt True Component True Rpt_Auswertung_Gesamt.rpt - True Component True - - True - True - Rpt_Auswertung_Gesamt_Old.rpt - Component - - - True - True - Rpt_Auswertung_Gesamt_top_20_Old.rpt - Component - + True True - Rpt_Auswertung_Gesamt_top_24_old.rpt + UKC.rpt Component @@ -974,33 +956,21 @@ ButtonFeatures.aspx CrystalDecisions.VSDesigner.CodeGen.ReportCodeGenerator CrystalReport1.cs - - CrystalDecisions.VSDesigner.CodeGen.ReportCodeGenerator - UKC.cs - - + CrystalDecisions.VSDesigner.CodeGen.ReportCodeGenerator - Rpt_Auswertung_Gesamt_Top_24.cs + Rpt_Auswertung_Gesamt_top_24.cs - + CrystalDecisions.VSDesigner.CodeGen.ReportCodeGenerator - Rpt_Auswertung_Gesamt_Top_20.cs + Rpt_Auswertung_Gesamt_top_20.cs CrystalDecisions.VSDesigner.CodeGen.ReportCodeGenerator Rpt_Auswertung_Gesamt.cs - - CrystalDecisions.VSDesigner.CodeGen.ReportCodeGenerator - Rpt_Auswertung_Gesamt_Old.cs - - - CrystalDecisions.VSDesigner.CodeGen.ReportCodeGenerator - Rpt_Auswertung_Gesamt_top_20_Old.cs - - + CrystalDecisions.VSDesigner.CodeGen.ReportCodeGenerator - Rpt_Auswertung_Gesamt_top_24_old.cs + UKC.cs CrystalDecisions.VSDesigner.CodeGen.ReportCodeGenerator diff --git a/Resultate/Reports/Rpt_Auswertung_Gesamt.rpt b/Resultate/Reports/Rpt_Auswertung_Gesamt.rpt index 227f20b..995410f 100644 Binary files a/Resultate/Reports/Rpt_Auswertung_Gesamt.rpt and b/Resultate/Reports/Rpt_Auswertung_Gesamt.rpt differ diff --git a/Resultate/Reports/Rpt_Auswertung_Gesamt_top_20.cs b/Resultate/Reports/Rpt_Auswertung_Gesamt_top_20.cs index 1d5ab56..7eb10a7 100644 --- a/Resultate/Reports/Rpt_Auswertung_Gesamt_top_20.cs +++ b/Resultate/Reports/Rpt_Auswertung_Gesamt_top_20.cs @@ -16,14 +16,14 @@ namespace QW2021C.Resultate.Reports { using CrystalDecisions.CrystalReports.Engine; - public class Rpt_Auswertung_Gesamt_Top_20 : ReportClass { + public class Rpt_Auswertung_Gesamt_top_20 : ReportClass { - public Rpt_Auswertung_Gesamt_Top_20() { + public Rpt_Auswertung_Gesamt_top_20() { } public override string ResourceName { get { - return "Rpt_Auswertung_Gesamt_Top_20.rpt"; + return "Rpt_Auswertung_Gesamt_top_20.rpt"; } set { // Do nothing @@ -41,7 +41,7 @@ namespace QW2021C.Resultate.Reports { public override string FullResourceName { get { - return "QW2021C.Resultate.Reports.Rpt_Auswertung_Gesamt_Top_20.rpt"; + return "QW2021C.Resultate.Reports.Rpt_Auswertung_Gesamt_top_20.rpt"; } set { // Do nothing @@ -130,9 +130,9 @@ namespace QW2021C.Resultate.Reports { } [System.Drawing.ToolboxBitmapAttribute(typeof(CrystalDecisions.Shared.ExportOptions), "report.bmp")] - public class CachedRpt_Auswertung_Gesamt_Top_20 : Component, ICachedReport { + public class CachedRpt_Auswertung_Gesamt_top_20 : Component, ICachedReport { - public CachedRpt_Auswertung_Gesamt_Top_20() { + public CachedRpt_Auswertung_Gesamt_top_20() { } [Browsable(false)] @@ -169,7 +169,7 @@ namespace QW2021C.Resultate.Reports { } public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport() { - Rpt_Auswertung_Gesamt_Top_20 rpt = new Rpt_Auswertung_Gesamt_Top_20(); + Rpt_Auswertung_Gesamt_top_20 rpt = new Rpt_Auswertung_Gesamt_top_20(); rpt.Site = this.Site; return rpt; } diff --git a/Resultate/Reports/Rpt_Auswertung_Gesamt_top_20.rpt b/Resultate/Reports/Rpt_Auswertung_Gesamt_top_20.rpt index 624db8f..2f7c5db 100644 Binary files a/Resultate/Reports/Rpt_Auswertung_Gesamt_top_20.rpt and b/Resultate/Reports/Rpt_Auswertung_Gesamt_top_20.rpt differ diff --git a/Resultate/Reports/Rpt_Auswertung_Gesamt_top_24.cs b/Resultate/Reports/Rpt_Auswertung_Gesamt_top_24.cs index e42cc79..36d3b9d 100644 --- a/Resultate/Reports/Rpt_Auswertung_Gesamt_top_24.cs +++ b/Resultate/Reports/Rpt_Auswertung_Gesamt_top_24.cs @@ -16,14 +16,14 @@ namespace QW2021C.Resultate.Reports { using CrystalDecisions.CrystalReports.Engine; - public class Rpt_Auswertung_Gesamt_Top_24 : ReportClass { + public class Rpt_Auswertung_Gesamt_top_24 : ReportClass { - public Rpt_Auswertung_Gesamt_Top_24() { + public Rpt_Auswertung_Gesamt_top_24() { } public override string ResourceName { get { - return "Rpt_Auswertung_Gesamt_Top_24.rpt"; + return "Rpt_Auswertung_Gesamt_top_24.rpt"; } set { // Do nothing @@ -41,7 +41,7 @@ namespace QW2021C.Resultate.Reports { public override string FullResourceName { get { - return "QW2021C.Resultate.Reports.Rpt_Auswertung_Gesamt_Top_24.rpt"; + return "QW2021C.Resultate.Reports.Rpt_Auswertung_Gesamt_top_24.rpt"; } set { // Do nothing @@ -130,9 +130,9 @@ namespace QW2021C.Resultate.Reports { } [System.Drawing.ToolboxBitmapAttribute(typeof(CrystalDecisions.Shared.ExportOptions), "report.bmp")] - public class CachedRpt_Auswertung_Gesamt_Top_24 : Component, ICachedReport { + public class CachedRpt_Auswertung_Gesamt_top_24 : Component, ICachedReport { - public CachedRpt_Auswertung_Gesamt_Top_24() { + public CachedRpt_Auswertung_Gesamt_top_24() { } [Browsable(false)] @@ -169,7 +169,7 @@ namespace QW2021C.Resultate.Reports { } public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport() { - Rpt_Auswertung_Gesamt_Top_24 rpt = new Rpt_Auswertung_Gesamt_Top_24(); + Rpt_Auswertung_Gesamt_top_24 rpt = new Rpt_Auswertung_Gesamt_top_24(); rpt.Site = this.Site; return rpt; } diff --git a/Resultate/Reports/Rpt_Auswertung_Gesamt_top_24.rpt b/Resultate/Reports/Rpt_Auswertung_Gesamt_top_24.rpt index cf64ba9..2d94a8d 100644 Binary files a/Resultate/Reports/Rpt_Auswertung_Gesamt_top_24.rpt and b/Resultate/Reports/Rpt_Auswertung_Gesamt_top_24.rpt differ diff --git a/Resultate/Reports/SIK/CrystalReport1.cs b/Resultate/Reports/SIK/CrystalReport1.cs new file mode 100644 index 0000000..7913dc7 --- /dev/null +++ b/Resultate/Reports/SIK/CrystalReport1.cs @@ -0,0 +1,153 @@ +//------------------------------------------------------------------------------ +// +// Dieser Code wurde von einem Tool generiert. +// Laufzeitversion:4.0.30319.42000 +// +// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn +// der Code erneut generiert wird. +// +//------------------------------------------------------------------------------ + +namespace QW2021C.Resultate.Reports { + using System; + using System.ComponentModel; + using CrystalDecisions.Shared; + using CrystalDecisions.ReportSource; + using CrystalDecisions.CrystalReports.Engine; + + + public class CrystalReport1 : ReportClass { + + public CrystalReport1() { + } + + public override string ResourceName { + get { + return "CrystalReport1.rpt"; + } + set { + // Do nothing + } + } + + public override bool NewGenerator { + get { + return true; + } + set { + // Do nothing + } + } + + public override string FullResourceName { + get { + return "QW2021C.Resultate.Reports.CrystalReport1.rpt"; + } + set { + // Do nothing + } + } + + [Browsable(false)] + [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] + public CrystalDecisions.CrystalReports.Engine.Section Section1 { + get { + return this.ReportDefinition.Sections[0]; + } + } + + [Browsable(false)] + [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] + public CrystalDecisions.CrystalReports.Engine.Section Section2 { + get { + return this.ReportDefinition.Sections[1]; + } + } + + [Browsable(false)] + [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] + public CrystalDecisions.CrystalReports.Engine.Section Section3 { + get { + return this.ReportDefinition.Sections[2]; + } + } + + [Browsable(false)] + [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] + public CrystalDecisions.CrystalReports.Engine.Section Section4 { + get { + return this.ReportDefinition.Sections[3]; + } + } + + [Browsable(false)] + [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] + public CrystalDecisions.CrystalReports.Engine.Section Section5 { + get { + return this.ReportDefinition.Sections[4]; + } + } + } + + [System.Drawing.ToolboxBitmapAttribute(typeof(CrystalDecisions.Shared.ExportOptions), "report.bmp")] + public class CachedCrystalReport1 : Component, ICachedReport { + + public CachedCrystalReport1() { + } + + [Browsable(false)] + [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] + public virtual bool IsCacheable { + get { + return true; + } + set { + // + } + } + + [Browsable(false)] + [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] + public virtual bool ShareDBLogonInfo { + get { + return false; + } + set { + // + } + } + + [Browsable(false)] + [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] + public virtual System.TimeSpan CacheTimeOut { + get { + return CachedReportConstants.DEFAULT_TIMEOUT; + } + set { + // + } + } + + public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport() { + CrystalReport1 rpt = new CrystalReport1(); + rpt.Site = this.Site; + return rpt; + } + + public virtual string GetCustomizedCacheKey(RequestContext request) { + String key = null; + // // The following is the code used to generate the default + // // cache key for caching report jobs in the ASP.NET Cache. + // // Feel free to modify this code to suit your needs. + // // Returning key == null causes the default cache key to + // // be generated. + // + // key = RequestContext.BuildCompleteCacheKey( + // request, + // null, // sReportFilename + // this.GetType(), + // this.ShareDBLogonInfo ); + return key; + } + } +} diff --git a/Resultate/Reports/SIK/CrystalReport1.rpt b/Resultate/Reports/SIK/CrystalReport1.rpt new file mode 100644 index 0000000..29c314e Binary files /dev/null and b/Resultate/Reports/SIK/CrystalReport1.rpt differ diff --git a/Resultate/Reports/SIK/Rpt_Auswertung_Gesamt - Kopieren.cs b/Resultate/Reports/SIK/Rpt_Auswertung_Gesamt - Kopieren.cs new file mode 100644 index 0000000..16ad486 --- /dev/null +++ b/Resultate/Reports/SIK/Rpt_Auswertung_Gesamt - Kopieren.cs @@ -0,0 +1,193 @@ +//------------------------------------------------------------------------------ +// +// Dieser Code wurde von einem Tool generiert. +// Laufzeitversion:4.0.30319.42000 +// +// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn +// der Code erneut generiert wird. +// +//------------------------------------------------------------------------------ + +namespace QW2021C.Resultate.Reports { + using System; + using System.ComponentModel; + using CrystalDecisions.Shared; + using CrystalDecisions.ReportSource; + using CrystalDecisions.CrystalReports.Engine; + + + public class Rpt_Auswertung_Gesamt : ReportClass { + + public Rpt_Auswertung_Gesamt() { + } + + public override string ResourceName { + get { + return "Rpt_Auswertung_Gesamt.rpt"; + } + set { + // Do nothing + } + } + + public override bool NewGenerator { + get { + return true; + } + set { + // Do nothing + } + } + + public override string FullResourceName { + get { + return "QW2021C.Resultate.Reports.Rpt_Auswertung_Gesamt.rpt"; + } + set { + // Do nothing + } + } + + [Browsable(false)] + [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] + public CrystalDecisions.CrystalReports.Engine.Section Section1 { + get { + return this.ReportDefinition.Sections[0]; + } + } + + [Browsable(false)] + [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] + public CrystalDecisions.CrystalReports.Engine.Section Section2 { + get { + return this.ReportDefinition.Sections[1]; + } + } + + [Browsable(false)] + [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] + public CrystalDecisions.CrystalReports.Engine.Section GroupHeaderSection1 { + get { + return this.ReportDefinition.Sections[2]; + } + } + + [Browsable(false)] + [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] + public CrystalDecisions.CrystalReports.Engine.Section GroupHeaderSection2 { + get { + return this.ReportDefinition.Sections[3]; + } + } + + [Browsable(false)] + [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] + public CrystalDecisions.CrystalReports.Engine.Section GroupHeaderSection4 { + get { + return this.ReportDefinition.Sections[4]; + } + } + + [Browsable(false)] + [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] + public CrystalDecisions.CrystalReports.Engine.Section DetailSection3 { + get { + return this.ReportDefinition.Sections[5]; + } + } + + [Browsable(false)] + [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] + public CrystalDecisions.CrystalReports.Engine.Section GroupFooterSection2 { + get { + return this.ReportDefinition.Sections[6]; + } + } + + [Browsable(false)] + [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] + public CrystalDecisions.CrystalReports.Engine.Section GroupFooterSection1 { + get { + return this.ReportDefinition.Sections[7]; + } + } + + [Browsable(false)] + [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] + public CrystalDecisions.CrystalReports.Engine.Section Section4 { + get { + return this.ReportDefinition.Sections[8]; + } + } + + [Browsable(false)] + [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] + public CrystalDecisions.CrystalReports.Engine.Section Section5 { + get { + return this.ReportDefinition.Sections[9]; + } + } + } + + [System.Drawing.ToolboxBitmapAttribute(typeof(CrystalDecisions.Shared.ExportOptions), "report.bmp")] + public class CachedRpt_Auswertung_Gesamt : Component, ICachedReport { + + public CachedRpt_Auswertung_Gesamt() { + } + + [Browsable(false)] + [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] + public virtual bool IsCacheable { + get { + return true; + } + set { + // + } + } + + [Browsable(false)] + [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] + public virtual bool ShareDBLogonInfo { + get { + return false; + } + set { + // + } + } + + [Browsable(false)] + [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] + public virtual System.TimeSpan CacheTimeOut { + get { + return CachedReportConstants.DEFAULT_TIMEOUT; + } + set { + // + } + } + + public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport() { + Rpt_Auswertung_Gesamt rpt = new Rpt_Auswertung_Gesamt(); + rpt.Site = this.Site; + return rpt; + } + + public virtual string GetCustomizedCacheKey(RequestContext request) { + String key = null; + // // The following is the code used to generate the default + // // cache key for caching report jobs in the ASP.NET Cache. + // // Feel free to modify this code to suit your needs. + // // Returning key == null causes the default cache key to + // // be generated. + // + // key = RequestContext.BuildCompleteCacheKey( + // request, + // null, // sReportFilename + // this.GetType(), + // this.ShareDBLogonInfo ); + return key; + } + } +} diff --git a/Resultate/Reports/SIK/Rpt_Auswertung_Gesamt - Kopieren.rpt b/Resultate/Reports/SIK/Rpt_Auswertung_Gesamt - Kopieren.rpt new file mode 100644 index 0000000..995410f Binary files /dev/null and b/Resultate/Reports/SIK/Rpt_Auswertung_Gesamt - Kopieren.rpt differ diff --git a/Resultate/Reports/SIK/Rpt_Auswertung_Gesamt.cs b/Resultate/Reports/SIK/Rpt_Auswertung_Gesamt.cs new file mode 100644 index 0000000..16ad486 --- /dev/null +++ b/Resultate/Reports/SIK/Rpt_Auswertung_Gesamt.cs @@ -0,0 +1,193 @@ +//------------------------------------------------------------------------------ +// +// Dieser Code wurde von einem Tool generiert. +// Laufzeitversion:4.0.30319.42000 +// +// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn +// der Code erneut generiert wird. +// +//------------------------------------------------------------------------------ + +namespace QW2021C.Resultate.Reports { + using System; + using System.ComponentModel; + using CrystalDecisions.Shared; + using CrystalDecisions.ReportSource; + using CrystalDecisions.CrystalReports.Engine; + + + public class Rpt_Auswertung_Gesamt : ReportClass { + + public Rpt_Auswertung_Gesamt() { + } + + public override string ResourceName { + get { + return "Rpt_Auswertung_Gesamt.rpt"; + } + set { + // Do nothing + } + } + + public override bool NewGenerator { + get { + return true; + } + set { + // Do nothing + } + } + + public override string FullResourceName { + get { + return "QW2021C.Resultate.Reports.Rpt_Auswertung_Gesamt.rpt"; + } + set { + // Do nothing + } + } + + [Browsable(false)] + [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] + public CrystalDecisions.CrystalReports.Engine.Section Section1 { + get { + return this.ReportDefinition.Sections[0]; + } + } + + [Browsable(false)] + [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] + public CrystalDecisions.CrystalReports.Engine.Section Section2 { + get { + return this.ReportDefinition.Sections[1]; + } + } + + [Browsable(false)] + [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] + public CrystalDecisions.CrystalReports.Engine.Section GroupHeaderSection1 { + get { + return this.ReportDefinition.Sections[2]; + } + } + + [Browsable(false)] + [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] + public CrystalDecisions.CrystalReports.Engine.Section GroupHeaderSection2 { + get { + return this.ReportDefinition.Sections[3]; + } + } + + [Browsable(false)] + [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] + public CrystalDecisions.CrystalReports.Engine.Section GroupHeaderSection4 { + get { + return this.ReportDefinition.Sections[4]; + } + } + + [Browsable(false)] + [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] + public CrystalDecisions.CrystalReports.Engine.Section DetailSection3 { + get { + return this.ReportDefinition.Sections[5]; + } + } + + [Browsable(false)] + [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] + public CrystalDecisions.CrystalReports.Engine.Section GroupFooterSection2 { + get { + return this.ReportDefinition.Sections[6]; + } + } + + [Browsable(false)] + [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] + public CrystalDecisions.CrystalReports.Engine.Section GroupFooterSection1 { + get { + return this.ReportDefinition.Sections[7]; + } + } + + [Browsable(false)] + [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] + public CrystalDecisions.CrystalReports.Engine.Section Section4 { + get { + return this.ReportDefinition.Sections[8]; + } + } + + [Browsable(false)] + [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] + public CrystalDecisions.CrystalReports.Engine.Section Section5 { + get { + return this.ReportDefinition.Sections[9]; + } + } + } + + [System.Drawing.ToolboxBitmapAttribute(typeof(CrystalDecisions.Shared.ExportOptions), "report.bmp")] + public class CachedRpt_Auswertung_Gesamt : Component, ICachedReport { + + public CachedRpt_Auswertung_Gesamt() { + } + + [Browsable(false)] + [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] + public virtual bool IsCacheable { + get { + return true; + } + set { + // + } + } + + [Browsable(false)] + [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] + public virtual bool ShareDBLogonInfo { + get { + return false; + } + set { + // + } + } + + [Browsable(false)] + [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] + public virtual System.TimeSpan CacheTimeOut { + get { + return CachedReportConstants.DEFAULT_TIMEOUT; + } + set { + // + } + } + + public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport() { + Rpt_Auswertung_Gesamt rpt = new Rpt_Auswertung_Gesamt(); + rpt.Site = this.Site; + return rpt; + } + + public virtual string GetCustomizedCacheKey(RequestContext request) { + String key = null; + // // The following is the code used to generate the default + // // cache key for caching report jobs in the ASP.NET Cache. + // // Feel free to modify this code to suit your needs. + // // Returning key == null causes the default cache key to + // // be generated. + // + // key = RequestContext.BuildCompleteCacheKey( + // request, + // null, // sReportFilename + // this.GetType(), + // this.ShareDBLogonInfo ); + return key; + } + } +} diff --git a/Resultate/Reports/SIK/Rpt_Auswertung_Gesamt.rpt b/Resultate/Reports/SIK/Rpt_Auswertung_Gesamt.rpt new file mode 100644 index 0000000..995410f Binary files /dev/null and b/Resultate/Reports/SIK/Rpt_Auswertung_Gesamt.rpt differ diff --git a/Resultate/Reports/Rpt_Auswertung_Gesamt_Old.cs b/Resultate/Reports/SIK/Rpt_Auswertung_Gesamt_Old.cs similarity index 100% rename from Resultate/Reports/Rpt_Auswertung_Gesamt_Old.cs rename to Resultate/Reports/SIK/Rpt_Auswertung_Gesamt_Old.cs diff --git a/Resultate/Reports/Rpt_Auswertung_Gesamt_Old.rpt b/Resultate/Reports/SIK/Rpt_Auswertung_Gesamt_Old.rpt similarity index 100% rename from Resultate/Reports/Rpt_Auswertung_Gesamt_Old.rpt rename to Resultate/Reports/SIK/Rpt_Auswertung_Gesamt_Old.rpt diff --git a/Resultate/Reports/SIK/Rpt_Auswertung_Gesamt_Top_20_old1.cs b/Resultate/Reports/SIK/Rpt_Auswertung_Gesamt_Top_20_old1.cs new file mode 100644 index 0000000..97fb91a --- /dev/null +++ b/Resultate/Reports/SIK/Rpt_Auswertung_Gesamt_Top_20_old1.cs @@ -0,0 +1,193 @@ +//------------------------------------------------------------------------------ +// +// Dieser Code wurde von einem Tool generiert. +// Laufzeitversion:4.0.30319.42000 +// +// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn +// der Code erneut generiert wird. +// +//------------------------------------------------------------------------------ + +namespace QW2021C.Resultate.Reports { + using System; + using System.ComponentModel; + using CrystalDecisions.Shared; + using CrystalDecisions.ReportSource; + using CrystalDecisions.CrystalReports.Engine; + + + public class Rpt_Auswertung_Gesamt_Top_20_old1 : ReportClass { + + public Rpt_Auswertung_Gesamt_Top_20_old1() { + } + + public override string ResourceName { + get { + return "Rpt_Auswertung_Gesamt_Top_20_old1.rpt"; + } + set { + // Do nothing + } + } + + public override bool NewGenerator { + get { + return true; + } + set { + // Do nothing + } + } + + public override string FullResourceName { + get { + return "QW2021C.Resultate.Reports.Rpt_Auswertung_Gesamt_Top_20_old1.rpt"; + } + set { + // Do nothing + } + } + + [Browsable(false)] + [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] + public CrystalDecisions.CrystalReports.Engine.Section Section1 { + get { + return this.ReportDefinition.Sections[0]; + } + } + + [Browsable(false)] + [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] + public CrystalDecisions.CrystalReports.Engine.Section Section2 { + get { + return this.ReportDefinition.Sections[1]; + } + } + + [Browsable(false)] + [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] + public CrystalDecisions.CrystalReports.Engine.Section GroupHeaderSection1 { + get { + return this.ReportDefinition.Sections[2]; + } + } + + [Browsable(false)] + [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] + public CrystalDecisions.CrystalReports.Engine.Section GroupHeaderSection2 { + get { + return this.ReportDefinition.Sections[3]; + } + } + + [Browsable(false)] + [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] + public CrystalDecisions.CrystalReports.Engine.Section GroupHeaderSection4 { + get { + return this.ReportDefinition.Sections[4]; + } + } + + [Browsable(false)] + [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] + public CrystalDecisions.CrystalReports.Engine.Section DetailSection3 { + get { + return this.ReportDefinition.Sections[5]; + } + } + + [Browsable(false)] + [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] + public CrystalDecisions.CrystalReports.Engine.Section GroupFooterSection2 { + get { + return this.ReportDefinition.Sections[6]; + } + } + + [Browsable(false)] + [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] + public CrystalDecisions.CrystalReports.Engine.Section GroupFooterSection1 { + get { + return this.ReportDefinition.Sections[7]; + } + } + + [Browsable(false)] + [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] + public CrystalDecisions.CrystalReports.Engine.Section Section4 { + get { + return this.ReportDefinition.Sections[8]; + } + } + + [Browsable(false)] + [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] + public CrystalDecisions.CrystalReports.Engine.Section Section5 { + get { + return this.ReportDefinition.Sections[9]; + } + } + } + + [System.Drawing.ToolboxBitmapAttribute(typeof(CrystalDecisions.Shared.ExportOptions), "report.bmp")] + public class CachedRpt_Auswertung_Gesamt_Top_20_old1 : Component, ICachedReport { + + public CachedRpt_Auswertung_Gesamt_Top_20_old1() { + } + + [Browsable(false)] + [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] + public virtual bool IsCacheable { + get { + return true; + } + set { + // + } + } + + [Browsable(false)] + [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] + public virtual bool ShareDBLogonInfo { + get { + return false; + } + set { + // + } + } + + [Browsable(false)] + [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] + public virtual System.TimeSpan CacheTimeOut { + get { + return CachedReportConstants.DEFAULT_TIMEOUT; + } + set { + // + } + } + + public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport() { + Rpt_Auswertung_Gesamt_Top_20_old1 rpt = new Rpt_Auswertung_Gesamt_Top_20_old1(); + rpt.Site = this.Site; + return rpt; + } + + public virtual string GetCustomizedCacheKey(RequestContext request) { + String key = null; + // // The following is the code used to generate the default + // // cache key for caching report jobs in the ASP.NET Cache. + // // Feel free to modify this code to suit your needs. + // // Returning key == null causes the default cache key to + // // be generated. + // + // key = RequestContext.BuildCompleteCacheKey( + // request, + // null, // sReportFilename + // this.GetType(), + // this.ShareDBLogonInfo ); + return key; + } + } +} diff --git a/Resultate/Reports/SIK/Rpt_Auswertung_Gesamt_Top_20_old1.rpt b/Resultate/Reports/SIK/Rpt_Auswertung_Gesamt_Top_20_old1.rpt new file mode 100644 index 0000000..624db8f Binary files /dev/null and b/Resultate/Reports/SIK/Rpt_Auswertung_Gesamt_Top_20_old1.rpt differ diff --git a/Resultate/Reports/SIK/Rpt_Auswertung_Gesamt_Top_24_old1.cs b/Resultate/Reports/SIK/Rpt_Auswertung_Gesamt_Top_24_old1.cs new file mode 100644 index 0000000..726ef91 --- /dev/null +++ b/Resultate/Reports/SIK/Rpt_Auswertung_Gesamt_Top_24_old1.cs @@ -0,0 +1,193 @@ +//------------------------------------------------------------------------------ +// +// Dieser Code wurde von einem Tool generiert. +// Laufzeitversion:4.0.30319.42000 +// +// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn +// der Code erneut generiert wird. +// +//------------------------------------------------------------------------------ + +namespace QW2021C.Resultate.Reports { + using System; + using System.ComponentModel; + using CrystalDecisions.Shared; + using CrystalDecisions.ReportSource; + using CrystalDecisions.CrystalReports.Engine; + + + public class Rpt_Auswertung_Gesamt_Top_24_old1 : ReportClass { + + public Rpt_Auswertung_Gesamt_Top_24_old1() { + } + + public override string ResourceName { + get { + return "Rpt_Auswertung_Gesamt_Top_24_old1.rpt"; + } + set { + // Do nothing + } + } + + public override bool NewGenerator { + get { + return true; + } + set { + // Do nothing + } + } + + public override string FullResourceName { + get { + return "QW2021C.Resultate.Reports.Rpt_Auswertung_Gesamt_Top_24_old1.rpt"; + } + set { + // Do nothing + } + } + + [Browsable(false)] + [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] + public CrystalDecisions.CrystalReports.Engine.Section Section1 { + get { + return this.ReportDefinition.Sections[0]; + } + } + + [Browsable(false)] + [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] + public CrystalDecisions.CrystalReports.Engine.Section Section2 { + get { + return this.ReportDefinition.Sections[1]; + } + } + + [Browsable(false)] + [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] + public CrystalDecisions.CrystalReports.Engine.Section GroupHeaderSection1 { + get { + return this.ReportDefinition.Sections[2]; + } + } + + [Browsable(false)] + [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] + public CrystalDecisions.CrystalReports.Engine.Section GroupHeaderSection2 { + get { + return this.ReportDefinition.Sections[3]; + } + } + + [Browsable(false)] + [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] + public CrystalDecisions.CrystalReports.Engine.Section GroupHeaderSection4 { + get { + return this.ReportDefinition.Sections[4]; + } + } + + [Browsable(false)] + [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] + public CrystalDecisions.CrystalReports.Engine.Section DetailSection3 { + get { + return this.ReportDefinition.Sections[5]; + } + } + + [Browsable(false)] + [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] + public CrystalDecisions.CrystalReports.Engine.Section GroupFooterSection2 { + get { + return this.ReportDefinition.Sections[6]; + } + } + + [Browsable(false)] + [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] + public CrystalDecisions.CrystalReports.Engine.Section GroupFooterSection1 { + get { + return this.ReportDefinition.Sections[7]; + } + } + + [Browsable(false)] + [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] + public CrystalDecisions.CrystalReports.Engine.Section Section4 { + get { + return this.ReportDefinition.Sections[8]; + } + } + + [Browsable(false)] + [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] + public CrystalDecisions.CrystalReports.Engine.Section Section5 { + get { + return this.ReportDefinition.Sections[9]; + } + } + } + + [System.Drawing.ToolboxBitmapAttribute(typeof(CrystalDecisions.Shared.ExportOptions), "report.bmp")] + public class CachedRpt_Auswertung_Gesamt_Top_24_old1 : Component, ICachedReport { + + public CachedRpt_Auswertung_Gesamt_Top_24_old1() { + } + + [Browsable(false)] + [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] + public virtual bool IsCacheable { + get { + return true; + } + set { + // + } + } + + [Browsable(false)] + [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] + public virtual bool ShareDBLogonInfo { + get { + return false; + } + set { + // + } + } + + [Browsable(false)] + [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] + public virtual System.TimeSpan CacheTimeOut { + get { + return CachedReportConstants.DEFAULT_TIMEOUT; + } + set { + // + } + } + + public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport() { + Rpt_Auswertung_Gesamt_Top_24_old1 rpt = new Rpt_Auswertung_Gesamt_Top_24_old1(); + rpt.Site = this.Site; + return rpt; + } + + public virtual string GetCustomizedCacheKey(RequestContext request) { + String key = null; + // // The following is the code used to generate the default + // // cache key for caching report jobs in the ASP.NET Cache. + // // Feel free to modify this code to suit your needs. + // // Returning key == null causes the default cache key to + // // be generated. + // + // key = RequestContext.BuildCompleteCacheKey( + // request, + // null, // sReportFilename + // this.GetType(), + // this.ShareDBLogonInfo ); + return key; + } + } +} diff --git a/Resultate/Reports/SIK/Rpt_Auswertung_Gesamt_Top_24_old1.rpt b/Resultate/Reports/SIK/Rpt_Auswertung_Gesamt_Top_24_old1.rpt new file mode 100644 index 0000000..cf64ba9 Binary files /dev/null and b/Resultate/Reports/SIK/Rpt_Auswertung_Gesamt_Top_24_old1.rpt differ diff --git a/Resultate/Reports/Rpt_Auswertung_Gesamt_top_20_Old.cs b/Resultate/Reports/SIK/Rpt_Auswertung_Gesamt_top_20_Old.cs similarity index 100% rename from Resultate/Reports/Rpt_Auswertung_Gesamt_top_20_Old.cs rename to Resultate/Reports/SIK/Rpt_Auswertung_Gesamt_top_20_Old.cs diff --git a/Resultate/Reports/Rpt_Auswertung_Gesamt_top_20_Old.rpt b/Resultate/Reports/SIK/Rpt_Auswertung_Gesamt_top_20_Old.rpt similarity index 100% rename from Resultate/Reports/Rpt_Auswertung_Gesamt_top_20_Old.rpt rename to Resultate/Reports/SIK/Rpt_Auswertung_Gesamt_top_20_Old.rpt diff --git a/Resultate/Reports/Rpt_Auswertung_Gesamt_top_24_old.cs b/Resultate/Reports/SIK/Rpt_Auswertung_Gesamt_top_24_old.cs similarity index 100% rename from Resultate/Reports/Rpt_Auswertung_Gesamt_top_24_old.cs rename to Resultate/Reports/SIK/Rpt_Auswertung_Gesamt_top_24_old.cs diff --git a/Resultate/Reports/Rpt_Auswertung_Gesamt_top_24_old.rpt b/Resultate/Reports/SIK/Rpt_Auswertung_Gesamt_top_24_old.rpt similarity index 100% rename from Resultate/Reports/Rpt_Auswertung_Gesamt_top_24_old.rpt rename to Resultate/Reports/SIK/Rpt_Auswertung_Gesamt_top_24_old.rpt diff --git a/Resultate/Reports/SIK/Rpt_Auswertung_Ort.cs b/Resultate/Reports/SIK/Rpt_Auswertung_Ort.cs new file mode 100644 index 0000000..ecd31cc --- /dev/null +++ b/Resultate/Reports/SIK/Rpt_Auswertung_Ort.cs @@ -0,0 +1,185 @@ +//------------------------------------------------------------------------------ +// +// Dieser Code wurde von einem Tool generiert. +// Laufzeitversion:4.0.30319.42000 +// +// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn +// der Code erneut generiert wird. +// +//------------------------------------------------------------------------------ + +namespace QW2021C.Resultate.Reports { + using System; + using System.ComponentModel; + using CrystalDecisions.Shared; + using CrystalDecisions.ReportSource; + using CrystalDecisions.CrystalReports.Engine; + + + public class Rpt_Auswertung_Ort : ReportClass { + + public Rpt_Auswertung_Ort() { + } + + public override string ResourceName { + get { + return "Rpt_Auswertung_Ort.rpt"; + } + set { + // Do nothing + } + } + + public override bool NewGenerator { + get { + return true; + } + set { + // Do nothing + } + } + + public override string FullResourceName { + get { + return "QW2021C.Resultate.Reports.Rpt_Auswertung_Ort.rpt"; + } + set { + // Do nothing + } + } + + [Browsable(false)] + [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] + public CrystalDecisions.CrystalReports.Engine.Section Section1 { + get { + return this.ReportDefinition.Sections[0]; + } + } + + [Browsable(false)] + [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] + public CrystalDecisions.CrystalReports.Engine.Section Section2 { + get { + return this.ReportDefinition.Sections[1]; + } + } + + [Browsable(false)] + [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] + public CrystalDecisions.CrystalReports.Engine.Section GroupHeaderSection3 { + get { + return this.ReportDefinition.Sections[2]; + } + } + + [Browsable(false)] + [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] + public CrystalDecisions.CrystalReports.Engine.Section GroupHeaderSection2 { + get { + return this.ReportDefinition.Sections[3]; + } + } + + [Browsable(false)] + [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] + public CrystalDecisions.CrystalReports.Engine.Section Section3 { + get { + return this.ReportDefinition.Sections[4]; + } + } + + [Browsable(false)] + [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] + public CrystalDecisions.CrystalReports.Engine.Section GroupFooterSection2 { + get { + return this.ReportDefinition.Sections[5]; + } + } + + [Browsable(false)] + [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] + public CrystalDecisions.CrystalReports.Engine.Section GroupFooterSection3 { + get { + return this.ReportDefinition.Sections[6]; + } + } + + [Browsable(false)] + [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] + public CrystalDecisions.CrystalReports.Engine.Section Section4 { + get { + return this.ReportDefinition.Sections[7]; + } + } + + [Browsable(false)] + [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] + public CrystalDecisions.CrystalReports.Engine.Section Section5 { + get { + return this.ReportDefinition.Sections[8]; + } + } + } + + [System.Drawing.ToolboxBitmapAttribute(typeof(CrystalDecisions.Shared.ExportOptions), "report.bmp")] + public class CachedRpt_Auswertung_Ort : Component, ICachedReport { + + public CachedRpt_Auswertung_Ort() { + } + + [Browsable(false)] + [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] + public virtual bool IsCacheable { + get { + return true; + } + set { + // + } + } + + [Browsable(false)] + [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] + public virtual bool ShareDBLogonInfo { + get { + return false; + } + set { + // + } + } + + [Browsable(false)] + [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] + public virtual System.TimeSpan CacheTimeOut { + get { + return CachedReportConstants.DEFAULT_TIMEOUT; + } + set { + // + } + } + + public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport() { + Rpt_Auswertung_Ort rpt = new Rpt_Auswertung_Ort(); + rpt.Site = this.Site; + return rpt; + } + + public virtual string GetCustomizedCacheKey(RequestContext request) { + String key = null; + // // The following is the code used to generate the default + // // cache key for caching report jobs in the ASP.NET Cache. + // // Feel free to modify this code to suit your needs. + // // Returning key == null causes the default cache key to + // // be generated. + // + // key = RequestContext.BuildCompleteCacheKey( + // request, + // null, // sReportFilename + // this.GetType(), + // this.ShareDBLogonInfo ); + return key; + } + } +} diff --git a/Resultate/Reports/SIK/Rpt_Auswertung_Ort.rpt b/Resultate/Reports/SIK/Rpt_Auswertung_Ort.rpt new file mode 100644 index 0000000..5e10838 Binary files /dev/null and b/Resultate/Reports/SIK/Rpt_Auswertung_Ort.rpt differ diff --git a/Resultate/Reports/SIK/Rpt_Auswertung_Ort_Top_20.cs b/Resultate/Reports/SIK/Rpt_Auswertung_Ort_Top_20.cs new file mode 100644 index 0000000..6c80ef3 --- /dev/null +++ b/Resultate/Reports/SIK/Rpt_Auswertung_Ort_Top_20.cs @@ -0,0 +1,185 @@ +//------------------------------------------------------------------------------ +// +// Dieser Code wurde von einem Tool generiert. +// Laufzeitversion:4.0.30319.42000 +// +// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn +// der Code erneut generiert wird. +// +//------------------------------------------------------------------------------ + +namespace QW2021C.Resultate.Reports { + using System; + using System.ComponentModel; + using CrystalDecisions.Shared; + using CrystalDecisions.ReportSource; + using CrystalDecisions.CrystalReports.Engine; + + + public class Rpt_Auswertung_Ort_Top_20 : ReportClass { + + public Rpt_Auswertung_Ort_Top_20() { + } + + public override string ResourceName { + get { + return "Rpt_Auswertung_Ort_Top_20.rpt"; + } + set { + // Do nothing + } + } + + public override bool NewGenerator { + get { + return true; + } + set { + // Do nothing + } + } + + public override string FullResourceName { + get { + return "QW2021C.Resultate.Reports.Rpt_Auswertung_Ort_Top_20.rpt"; + } + set { + // Do nothing + } + } + + [Browsable(false)] + [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] + public CrystalDecisions.CrystalReports.Engine.Section Section1 { + get { + return this.ReportDefinition.Sections[0]; + } + } + + [Browsable(false)] + [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] + public CrystalDecisions.CrystalReports.Engine.Section Section2 { + get { + return this.ReportDefinition.Sections[1]; + } + } + + [Browsable(false)] + [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] + public CrystalDecisions.CrystalReports.Engine.Section GroupHeaderSection3 { + get { + return this.ReportDefinition.Sections[2]; + } + } + + [Browsable(false)] + [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] + public CrystalDecisions.CrystalReports.Engine.Section GroupHeaderSection2 { + get { + return this.ReportDefinition.Sections[3]; + } + } + + [Browsable(false)] + [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] + public CrystalDecisions.CrystalReports.Engine.Section Section3 { + get { + return this.ReportDefinition.Sections[4]; + } + } + + [Browsable(false)] + [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] + public CrystalDecisions.CrystalReports.Engine.Section GroupFooterSection2 { + get { + return this.ReportDefinition.Sections[5]; + } + } + + [Browsable(false)] + [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] + public CrystalDecisions.CrystalReports.Engine.Section GroupFooterSection3 { + get { + return this.ReportDefinition.Sections[6]; + } + } + + [Browsable(false)] + [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] + public CrystalDecisions.CrystalReports.Engine.Section Section4 { + get { + return this.ReportDefinition.Sections[7]; + } + } + + [Browsable(false)] + [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] + public CrystalDecisions.CrystalReports.Engine.Section Section5 { + get { + return this.ReportDefinition.Sections[8]; + } + } + } + + [System.Drawing.ToolboxBitmapAttribute(typeof(CrystalDecisions.Shared.ExportOptions), "report.bmp")] + public class CachedRpt_Auswertung_Ort_Top_20 : Component, ICachedReport { + + public CachedRpt_Auswertung_Ort_Top_20() { + } + + [Browsable(false)] + [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] + public virtual bool IsCacheable { + get { + return true; + } + set { + // + } + } + + [Browsable(false)] + [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] + public virtual bool ShareDBLogonInfo { + get { + return false; + } + set { + // + } + } + + [Browsable(false)] + [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] + public virtual System.TimeSpan CacheTimeOut { + get { + return CachedReportConstants.DEFAULT_TIMEOUT; + } + set { + // + } + } + + public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport() { + Rpt_Auswertung_Ort_Top_20 rpt = new Rpt_Auswertung_Ort_Top_20(); + rpt.Site = this.Site; + return rpt; + } + + public virtual string GetCustomizedCacheKey(RequestContext request) { + String key = null; + // // The following is the code used to generate the default + // // cache key for caching report jobs in the ASP.NET Cache. + // // Feel free to modify this code to suit your needs. + // // Returning key == null causes the default cache key to + // // be generated. + // + // key = RequestContext.BuildCompleteCacheKey( + // request, + // null, // sReportFilename + // this.GetType(), + // this.ShareDBLogonInfo ); + return key; + } + } +} diff --git a/Resultate/Reports/SIK/Rpt_Auswertung_Ort_Top_20.rpt b/Resultate/Reports/SIK/Rpt_Auswertung_Ort_Top_20.rpt new file mode 100644 index 0000000..feca4ee Binary files /dev/null and b/Resultate/Reports/SIK/Rpt_Auswertung_Ort_Top_20.rpt differ diff --git a/Resultate/Reports/SIK/Rpt_Auswertung_Ort_Top_20_old.cs b/Resultate/Reports/SIK/Rpt_Auswertung_Ort_Top_20_old.cs new file mode 100644 index 0000000..28f7262 --- /dev/null +++ b/Resultate/Reports/SIK/Rpt_Auswertung_Ort_Top_20_old.cs @@ -0,0 +1,185 @@ +//------------------------------------------------------------------------------ +// +// Dieser Code wurde von einem Tool generiert. +// Laufzeitversion:4.0.30319.42000 +// +// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn +// der Code erneut generiert wird. +// +//------------------------------------------------------------------------------ + +namespace QW2021C.Resultate.Reports { + using System; + using System.ComponentModel; + using CrystalDecisions.Shared; + using CrystalDecisions.ReportSource; + using CrystalDecisions.CrystalReports.Engine; + + + public class Rpt_Auswertung_Ort_Top_20_old : ReportClass { + + public Rpt_Auswertung_Ort_Top_20_old() { + } + + public override string ResourceName { + get { + return "Rpt_Auswertung_Ort_Top_20_old.rpt"; + } + set { + // Do nothing + } + } + + public override bool NewGenerator { + get { + return true; + } + set { + // Do nothing + } + } + + public override string FullResourceName { + get { + return "QW2021C.Resultate.Reports.Rpt_Auswertung_Ort_Top_20_old.rpt"; + } + set { + // Do nothing + } + } + + [Browsable(false)] + [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] + public CrystalDecisions.CrystalReports.Engine.Section Section1 { + get { + return this.ReportDefinition.Sections[0]; + } + } + + [Browsable(false)] + [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] + public CrystalDecisions.CrystalReports.Engine.Section Section2 { + get { + return this.ReportDefinition.Sections[1]; + } + } + + [Browsable(false)] + [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] + public CrystalDecisions.CrystalReports.Engine.Section GroupHeaderSection3 { + get { + return this.ReportDefinition.Sections[2]; + } + } + + [Browsable(false)] + [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] + public CrystalDecisions.CrystalReports.Engine.Section GroupHeaderSection2 { + get { + return this.ReportDefinition.Sections[3]; + } + } + + [Browsable(false)] + [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] + public CrystalDecisions.CrystalReports.Engine.Section Section3 { + get { + return this.ReportDefinition.Sections[4]; + } + } + + [Browsable(false)] + [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] + public CrystalDecisions.CrystalReports.Engine.Section GroupFooterSection2 { + get { + return this.ReportDefinition.Sections[5]; + } + } + + [Browsable(false)] + [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] + public CrystalDecisions.CrystalReports.Engine.Section GroupFooterSection3 { + get { + return this.ReportDefinition.Sections[6]; + } + } + + [Browsable(false)] + [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] + public CrystalDecisions.CrystalReports.Engine.Section Section4 { + get { + return this.ReportDefinition.Sections[7]; + } + } + + [Browsable(false)] + [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] + public CrystalDecisions.CrystalReports.Engine.Section Section5 { + get { + return this.ReportDefinition.Sections[8]; + } + } + } + + [System.Drawing.ToolboxBitmapAttribute(typeof(CrystalDecisions.Shared.ExportOptions), "report.bmp")] + public class CachedRpt_Auswertung_Ort_Top_20_old : Component, ICachedReport { + + public CachedRpt_Auswertung_Ort_Top_20_old() { + } + + [Browsable(false)] + [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] + public virtual bool IsCacheable { + get { + return true; + } + set { + // + } + } + + [Browsable(false)] + [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] + public virtual bool ShareDBLogonInfo { + get { + return false; + } + set { + // + } + } + + [Browsable(false)] + [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] + public virtual System.TimeSpan CacheTimeOut { + get { + return CachedReportConstants.DEFAULT_TIMEOUT; + } + set { + // + } + } + + public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport() { + Rpt_Auswertung_Ort_Top_20_old rpt = new Rpt_Auswertung_Ort_Top_20_old(); + rpt.Site = this.Site; + return rpt; + } + + public virtual string GetCustomizedCacheKey(RequestContext request) { + String key = null; + // // The following is the code used to generate the default + // // cache key for caching report jobs in the ASP.NET Cache. + // // Feel free to modify this code to suit your needs. + // // Returning key == null causes the default cache key to + // // be generated. + // + // key = RequestContext.BuildCompleteCacheKey( + // request, + // null, // sReportFilename + // this.GetType(), + // this.ShareDBLogonInfo ); + return key; + } + } +} diff --git a/Resultate/Reports/SIK/Rpt_Auswertung_Ort_Top_20_old.rpt b/Resultate/Reports/SIK/Rpt_Auswertung_Ort_Top_20_old.rpt new file mode 100644 index 0000000..ade77fb Binary files /dev/null and b/Resultate/Reports/SIK/Rpt_Auswertung_Ort_Top_20_old.rpt differ diff --git a/Resultate/Reports/SIK/Rpt_Auswertung_Ort_Top_24.cs b/Resultate/Reports/SIK/Rpt_Auswertung_Ort_Top_24.cs new file mode 100644 index 0000000..53835ed --- /dev/null +++ b/Resultate/Reports/SIK/Rpt_Auswertung_Ort_Top_24.cs @@ -0,0 +1,185 @@ +//------------------------------------------------------------------------------ +// +// Dieser Code wurde von einem Tool generiert. +// Laufzeitversion:4.0.30319.42000 +// +// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn +// der Code erneut generiert wird. +// +//------------------------------------------------------------------------------ + +namespace QW2021C.Resultate.Reports { + using System; + using System.ComponentModel; + using CrystalDecisions.Shared; + using CrystalDecisions.ReportSource; + using CrystalDecisions.CrystalReports.Engine; + + + public class Rpt_Auswertung_Ort_Top_24 : ReportClass { + + public Rpt_Auswertung_Ort_Top_24() { + } + + public override string ResourceName { + get { + return "Rpt_Auswertung_Ort_Top_24.rpt"; + } + set { + // Do nothing + } + } + + public override bool NewGenerator { + get { + return true; + } + set { + // Do nothing + } + } + + public override string FullResourceName { + get { + return "QW2021C.Resultate.Reports.Rpt_Auswertung_Ort_Top_24.rpt"; + } + set { + // Do nothing + } + } + + [Browsable(false)] + [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] + public CrystalDecisions.CrystalReports.Engine.Section Section1 { + get { + return this.ReportDefinition.Sections[0]; + } + } + + [Browsable(false)] + [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] + public CrystalDecisions.CrystalReports.Engine.Section Section2 { + get { + return this.ReportDefinition.Sections[1]; + } + } + + [Browsable(false)] + [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] + public CrystalDecisions.CrystalReports.Engine.Section GroupHeaderSection3 { + get { + return this.ReportDefinition.Sections[2]; + } + } + + [Browsable(false)] + [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] + public CrystalDecisions.CrystalReports.Engine.Section GroupHeaderSection2 { + get { + return this.ReportDefinition.Sections[3]; + } + } + + [Browsable(false)] + [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] + public CrystalDecisions.CrystalReports.Engine.Section Section3 { + get { + return this.ReportDefinition.Sections[4]; + } + } + + [Browsable(false)] + [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] + public CrystalDecisions.CrystalReports.Engine.Section GroupFooterSection2 { + get { + return this.ReportDefinition.Sections[5]; + } + } + + [Browsable(false)] + [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] + public CrystalDecisions.CrystalReports.Engine.Section GroupFooterSection3 { + get { + return this.ReportDefinition.Sections[6]; + } + } + + [Browsable(false)] + [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] + public CrystalDecisions.CrystalReports.Engine.Section Section4 { + get { + return this.ReportDefinition.Sections[7]; + } + } + + [Browsable(false)] + [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] + public CrystalDecisions.CrystalReports.Engine.Section Section5 { + get { + return this.ReportDefinition.Sections[8]; + } + } + } + + [System.Drawing.ToolboxBitmapAttribute(typeof(CrystalDecisions.Shared.ExportOptions), "report.bmp")] + public class CachedRpt_Auswertung_Ort_Top_24 : Component, ICachedReport { + + public CachedRpt_Auswertung_Ort_Top_24() { + } + + [Browsable(false)] + [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] + public virtual bool IsCacheable { + get { + return true; + } + set { + // + } + } + + [Browsable(false)] + [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] + public virtual bool ShareDBLogonInfo { + get { + return false; + } + set { + // + } + } + + [Browsable(false)] + [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] + public virtual System.TimeSpan CacheTimeOut { + get { + return CachedReportConstants.DEFAULT_TIMEOUT; + } + set { + // + } + } + + public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport() { + Rpt_Auswertung_Ort_Top_24 rpt = new Rpt_Auswertung_Ort_Top_24(); + rpt.Site = this.Site; + return rpt; + } + + public virtual string GetCustomizedCacheKey(RequestContext request) { + String key = null; + // // The following is the code used to generate the default + // // cache key for caching report jobs in the ASP.NET Cache. + // // Feel free to modify this code to suit your needs. + // // Returning key == null causes the default cache key to + // // be generated. + // + // key = RequestContext.BuildCompleteCacheKey( + // request, + // null, // sReportFilename + // this.GetType(), + // this.ShareDBLogonInfo ); + return key; + } + } +} diff --git a/Resultate/Reports/SIK/Rpt_Auswertung_Ort_Top_24.rpt b/Resultate/Reports/SIK/Rpt_Auswertung_Ort_Top_24.rpt new file mode 100644 index 0000000..010b6ba Binary files /dev/null and b/Resultate/Reports/SIK/Rpt_Auswertung_Ort_Top_24.rpt differ diff --git a/Resultate/Reports/SIK/Rpt_Auswertung_Ort_Top_24_old.cs b/Resultate/Reports/SIK/Rpt_Auswertung_Ort_Top_24_old.cs new file mode 100644 index 0000000..92799dd --- /dev/null +++ b/Resultate/Reports/SIK/Rpt_Auswertung_Ort_Top_24_old.cs @@ -0,0 +1,185 @@ +//------------------------------------------------------------------------------ +// +// Dieser Code wurde von einem Tool generiert. +// Laufzeitversion:4.0.30319.42000 +// +// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn +// der Code erneut generiert wird. +// +//------------------------------------------------------------------------------ + +namespace QW2021C.Resultate.Reports { + using System; + using System.ComponentModel; + using CrystalDecisions.Shared; + using CrystalDecisions.ReportSource; + using CrystalDecisions.CrystalReports.Engine; + + + public class Rpt_Auswertung_Ort_Top_24_old : ReportClass { + + public Rpt_Auswertung_Ort_Top_24_old() { + } + + public override string ResourceName { + get { + return "Rpt_Auswertung_Ort_Top_24_old.rpt"; + } + set { + // Do nothing + } + } + + public override bool NewGenerator { + get { + return true; + } + set { + // Do nothing + } + } + + public override string FullResourceName { + get { + return "QW2021C.Resultate.Reports.Rpt_Auswertung_Ort_Top_24_old.rpt"; + } + set { + // Do nothing + } + } + + [Browsable(false)] + [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] + public CrystalDecisions.CrystalReports.Engine.Section Section1 { + get { + return this.ReportDefinition.Sections[0]; + } + } + + [Browsable(false)] + [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] + public CrystalDecisions.CrystalReports.Engine.Section Section2 { + get { + return this.ReportDefinition.Sections[1]; + } + } + + [Browsable(false)] + [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] + public CrystalDecisions.CrystalReports.Engine.Section GroupHeaderSection3 { + get { + return this.ReportDefinition.Sections[2]; + } + } + + [Browsable(false)] + [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] + public CrystalDecisions.CrystalReports.Engine.Section GroupHeaderSection2 { + get { + return this.ReportDefinition.Sections[3]; + } + } + + [Browsable(false)] + [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] + public CrystalDecisions.CrystalReports.Engine.Section Section3 { + get { + return this.ReportDefinition.Sections[4]; + } + } + + [Browsable(false)] + [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] + public CrystalDecisions.CrystalReports.Engine.Section GroupFooterSection2 { + get { + return this.ReportDefinition.Sections[5]; + } + } + + [Browsable(false)] + [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] + public CrystalDecisions.CrystalReports.Engine.Section GroupFooterSection3 { + get { + return this.ReportDefinition.Sections[6]; + } + } + + [Browsable(false)] + [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] + public CrystalDecisions.CrystalReports.Engine.Section Section4 { + get { + return this.ReportDefinition.Sections[7]; + } + } + + [Browsable(false)] + [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] + public CrystalDecisions.CrystalReports.Engine.Section Section5 { + get { + return this.ReportDefinition.Sections[8]; + } + } + } + + [System.Drawing.ToolboxBitmapAttribute(typeof(CrystalDecisions.Shared.ExportOptions), "report.bmp")] + public class CachedRpt_Auswertung_Ort_Top_24_old : Component, ICachedReport { + + public CachedRpt_Auswertung_Ort_Top_24_old() { + } + + [Browsable(false)] + [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] + public virtual bool IsCacheable { + get { + return true; + } + set { + // + } + } + + [Browsable(false)] + [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] + public virtual bool ShareDBLogonInfo { + get { + return false; + } + set { + // + } + } + + [Browsable(false)] + [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] + public virtual System.TimeSpan CacheTimeOut { + get { + return CachedReportConstants.DEFAULT_TIMEOUT; + } + set { + // + } + } + + public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport() { + Rpt_Auswertung_Ort_Top_24_old rpt = new Rpt_Auswertung_Ort_Top_24_old(); + rpt.Site = this.Site; + return rpt; + } + + public virtual string GetCustomizedCacheKey(RequestContext request) { + String key = null; + // // The following is the code used to generate the default + // // cache key for caching report jobs in the ASP.NET Cache. + // // Feel free to modify this code to suit your needs. + // // Returning key == null causes the default cache key to + // // be generated. + // + // key = RequestContext.BuildCompleteCacheKey( + // request, + // null, // sReportFilename + // this.GetType(), + // this.ShareDBLogonInfo ); + return key; + } + } +} diff --git a/Resultate/Reports/SIK/Rpt_Auswertung_Ort_Top_24_old.rpt b/Resultate/Reports/SIK/Rpt_Auswertung_Ort_Top_24_old.rpt new file mode 100644 index 0000000..758948a Binary files /dev/null and b/Resultate/Reports/SIK/Rpt_Auswertung_Ort_Top_24_old.rpt differ diff --git a/Resultate/Reports/SIK/Rpt_Auswertung_Ort_old.cs b/Resultate/Reports/SIK/Rpt_Auswertung_Ort_old.cs new file mode 100644 index 0000000..8d6bb4a --- /dev/null +++ b/Resultate/Reports/SIK/Rpt_Auswertung_Ort_old.cs @@ -0,0 +1,185 @@ +//------------------------------------------------------------------------------ +// +// Dieser Code wurde von einem Tool generiert. +// Laufzeitversion:4.0.30319.42000 +// +// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn +// der Code erneut generiert wird. +// +//------------------------------------------------------------------------------ + +namespace QW2021C.Resultate.Reports { + using System; + using System.ComponentModel; + using CrystalDecisions.Shared; + using CrystalDecisions.ReportSource; + using CrystalDecisions.CrystalReports.Engine; + + + public class Rpt_Auswertung_Ort_old : ReportClass { + + public Rpt_Auswertung_Ort_old() { + } + + public override string ResourceName { + get { + return "Rpt_Auswertung_Ort_old.rpt"; + } + set { + // Do nothing + } + } + + public override bool NewGenerator { + get { + return true; + } + set { + // Do nothing + } + } + + public override string FullResourceName { + get { + return "QW2021C.Resultate.Reports.Rpt_Auswertung_Ort_old.rpt"; + } + set { + // Do nothing + } + } + + [Browsable(false)] + [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] + public CrystalDecisions.CrystalReports.Engine.Section Section1 { + get { + return this.ReportDefinition.Sections[0]; + } + } + + [Browsable(false)] + [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] + public CrystalDecisions.CrystalReports.Engine.Section Section2 { + get { + return this.ReportDefinition.Sections[1]; + } + } + + [Browsable(false)] + [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] + public CrystalDecisions.CrystalReports.Engine.Section GroupHeaderSection3 { + get { + return this.ReportDefinition.Sections[2]; + } + } + + [Browsable(false)] + [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] + public CrystalDecisions.CrystalReports.Engine.Section GroupHeaderSection2 { + get { + return this.ReportDefinition.Sections[3]; + } + } + + [Browsable(false)] + [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] + public CrystalDecisions.CrystalReports.Engine.Section Section3 { + get { + return this.ReportDefinition.Sections[4]; + } + } + + [Browsable(false)] + [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] + public CrystalDecisions.CrystalReports.Engine.Section GroupFooterSection2 { + get { + return this.ReportDefinition.Sections[5]; + } + } + + [Browsable(false)] + [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] + public CrystalDecisions.CrystalReports.Engine.Section GroupFooterSection3 { + get { + return this.ReportDefinition.Sections[6]; + } + } + + [Browsable(false)] + [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] + public CrystalDecisions.CrystalReports.Engine.Section Section4 { + get { + return this.ReportDefinition.Sections[7]; + } + } + + [Browsable(false)] + [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] + public CrystalDecisions.CrystalReports.Engine.Section Section5 { + get { + return this.ReportDefinition.Sections[8]; + } + } + } + + [System.Drawing.ToolboxBitmapAttribute(typeof(CrystalDecisions.Shared.ExportOptions), "report.bmp")] + public class CachedRpt_Auswertung_Ort_old : Component, ICachedReport { + + public CachedRpt_Auswertung_Ort_old() { + } + + [Browsable(false)] + [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] + public virtual bool IsCacheable { + get { + return true; + } + set { + // + } + } + + [Browsable(false)] + [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] + public virtual bool ShareDBLogonInfo { + get { + return false; + } + set { + // + } + } + + [Browsable(false)] + [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] + public virtual System.TimeSpan CacheTimeOut { + get { + return CachedReportConstants.DEFAULT_TIMEOUT; + } + set { + // + } + } + + public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport() { + Rpt_Auswertung_Ort_old rpt = new Rpt_Auswertung_Ort_old(); + rpt.Site = this.Site; + return rpt; + } + + public virtual string GetCustomizedCacheKey(RequestContext request) { + String key = null; + // // The following is the code used to generate the default + // // cache key for caching report jobs in the ASP.NET Cache. + // // Feel free to modify this code to suit your needs. + // // Returning key == null causes the default cache key to + // // be generated. + // + // key = RequestContext.BuildCompleteCacheKey( + // request, + // null, // sReportFilename + // this.GetType(), + // this.ShareDBLogonInfo ); + return key; + } + } +} diff --git a/Resultate/Reports/SIK/Rpt_Auswertung_Ort_old.rpt b/Resultate/Reports/SIK/Rpt_Auswertung_Ort_old.rpt new file mode 100644 index 0000000..4a897f7 Binary files /dev/null and b/Resultate/Reports/SIK/Rpt_Auswertung_Ort_old.rpt differ diff --git a/Resultate/Reports/SIK/UKC.cs b/Resultate/Reports/SIK/UKC.cs new file mode 100644 index 0000000..ee975de --- /dev/null +++ b/Resultate/Reports/SIK/UKC.cs @@ -0,0 +1,169 @@ +//------------------------------------------------------------------------------ +// +// Dieser Code wurde von einem Tool generiert. +// Laufzeitversion:4.0.30319.42000 +// +// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn +// der Code erneut generiert wird. +// +//------------------------------------------------------------------------------ + +namespace QW2021C.Resultate.Reports { + using System; + using System.ComponentModel; + using CrystalDecisions.Shared; + using CrystalDecisions.ReportSource; + using CrystalDecisions.CrystalReports.Engine; + + + public class UKC : ReportClass { + + public UKC() { + } + + public override string ResourceName { + get { + return "UKC.rpt"; + } + set { + // Do nothing + } + } + + public override bool NewGenerator { + get { + return true; + } + set { + // Do nothing + } + } + + public override string FullResourceName { + get { + return "QW2021C.Resultate.Reports.UKC.rpt"; + } + set { + // Do nothing + } + } + + [Browsable(false)] + [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] + public CrystalDecisions.CrystalReports.Engine.Section Section1 { + get { + return this.ReportDefinition.Sections[0]; + } + } + + [Browsable(false)] + [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] + public CrystalDecisions.CrystalReports.Engine.Section Section2 { + get { + return this.ReportDefinition.Sections[1]; + } + } + + [Browsable(false)] + [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] + public CrystalDecisions.CrystalReports.Engine.Section GroupHeaderSection2 { + get { + return this.ReportDefinition.Sections[2]; + } + } + + [Browsable(false)] + [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] + public CrystalDecisions.CrystalReports.Engine.Section Section3 { + get { + return this.ReportDefinition.Sections[3]; + } + } + + [Browsable(false)] + [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] + public CrystalDecisions.CrystalReports.Engine.Section GroupFooterSection2 { + get { + return this.ReportDefinition.Sections[4]; + } + } + + [Browsable(false)] + [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] + public CrystalDecisions.CrystalReports.Engine.Section Section4 { + get { + return this.ReportDefinition.Sections[5]; + } + } + + [Browsable(false)] + [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] + public CrystalDecisions.CrystalReports.Engine.Section Section5 { + get { + return this.ReportDefinition.Sections[6]; + } + } + } + + [System.Drawing.ToolboxBitmapAttribute(typeof(CrystalDecisions.Shared.ExportOptions), "report.bmp")] + public class CachedUKC : Component, ICachedReport { + + public CachedUKC() { + } + + [Browsable(false)] + [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] + public virtual bool IsCacheable { + get { + return true; + } + set { + // + } + } + + [Browsable(false)] + [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] + public virtual bool ShareDBLogonInfo { + get { + return false; + } + set { + // + } + } + + [Browsable(false)] + [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] + public virtual System.TimeSpan CacheTimeOut { + get { + return CachedReportConstants.DEFAULT_TIMEOUT; + } + set { + // + } + } + + public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport() { + UKC rpt = new UKC(); + rpt.Site = this.Site; + return rpt; + } + + public virtual string GetCustomizedCacheKey(RequestContext request) { + String key = null; + // // The following is the code used to generate the default + // // cache key for caching report jobs in the ASP.NET Cache. + // // Feel free to modify this code to suit your needs. + // // Returning key == null causes the default cache key to + // // be generated. + // + // key = RequestContext.BuildCompleteCacheKey( + // request, + // null, // sReportFilename + // this.GetType(), + // this.ShareDBLogonInfo ); + return key; + } + } +} diff --git a/Resultate/Reports/SIK/UKC.rpt b/Resultate/Reports/SIK/UKC.rpt new file mode 100644 index 0000000..25f63f1 Binary files /dev/null and b/Resultate/Reports/SIK/UKC.rpt differ diff --git a/Resultate/Reports/SIK/Vierkampf.cs b/Resultate/Reports/SIK/Vierkampf.cs new file mode 100644 index 0000000..631493d --- /dev/null +++ b/Resultate/Reports/SIK/Vierkampf.cs @@ -0,0 +1,169 @@ +//------------------------------------------------------------------------------ +// +// Dieser Code wurde von einem Tool generiert. +// Laufzeitversion:4.0.30319.42000 +// +// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn +// der Code erneut generiert wird. +// +//------------------------------------------------------------------------------ + +namespace QW2021C.Resultate.Reports { + using System; + using System.ComponentModel; + using CrystalDecisions.Shared; + using CrystalDecisions.ReportSource; + using CrystalDecisions.CrystalReports.Engine; + + + public class Vierkampf : ReportClass { + + public Vierkampf() { + } + + public override string ResourceName { + get { + return "Vierkampf.rpt"; + } + set { + // Do nothing + } + } + + public override bool NewGenerator { + get { + return true; + } + set { + // Do nothing + } + } + + public override string FullResourceName { + get { + return "QW2021C.Resultate.Reports.Vierkampf.rpt"; + } + set { + // Do nothing + } + } + + [Browsable(false)] + [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] + public CrystalDecisions.CrystalReports.Engine.Section Section1 { + get { + return this.ReportDefinition.Sections[0]; + } + } + + [Browsable(false)] + [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] + public CrystalDecisions.CrystalReports.Engine.Section Section2 { + get { + return this.ReportDefinition.Sections[1]; + } + } + + [Browsable(false)] + [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] + public CrystalDecisions.CrystalReports.Engine.Section GroupHeaderSection2 { + get { + return this.ReportDefinition.Sections[2]; + } + } + + [Browsable(false)] + [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] + public CrystalDecisions.CrystalReports.Engine.Section Section3 { + get { + return this.ReportDefinition.Sections[3]; + } + } + + [Browsable(false)] + [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] + public CrystalDecisions.CrystalReports.Engine.Section GroupFooterSection2 { + get { + return this.ReportDefinition.Sections[4]; + } + } + + [Browsable(false)] + [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] + public CrystalDecisions.CrystalReports.Engine.Section Section4 { + get { + return this.ReportDefinition.Sections[5]; + } + } + + [Browsable(false)] + [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] + public CrystalDecisions.CrystalReports.Engine.Section Section5 { + get { + return this.ReportDefinition.Sections[6]; + } + } + } + + [System.Drawing.ToolboxBitmapAttribute(typeof(CrystalDecisions.Shared.ExportOptions), "report.bmp")] + public class CachedVierkampf : Component, ICachedReport { + + public CachedVierkampf() { + } + + [Browsable(false)] + [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] + public virtual bool IsCacheable { + get { + return true; + } + set { + // + } + } + + [Browsable(false)] + [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] + public virtual bool ShareDBLogonInfo { + get { + return false; + } + set { + // + } + } + + [Browsable(false)] + [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] + public virtual System.TimeSpan CacheTimeOut { + get { + return CachedReportConstants.DEFAULT_TIMEOUT; + } + set { + // + } + } + + public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport() { + Vierkampf rpt = new Vierkampf(); + rpt.Site = this.Site; + return rpt; + } + + public virtual string GetCustomizedCacheKey(RequestContext request) { + String key = null; + // // The following is the code used to generate the default + // // cache key for caching report jobs in the ASP.NET Cache. + // // Feel free to modify this code to suit your needs. + // // Returning key == null causes the default cache key to + // // be generated. + // + // key = RequestContext.BuildCompleteCacheKey( + // request, + // null, // sReportFilename + // this.GetType(), + // this.ShareDBLogonInfo ); + return key; + } + } +} diff --git a/Resultate/Reports/SIK/Vierkampf.rpt b/Resultate/Reports/SIK/Vierkampf.rpt new file mode 100644 index 0000000..959dfeb Binary files /dev/null and b/Resultate/Reports/SIK/Vierkampf.rpt differ