neu
This commit is contained in:
@@ -16,7 +16,10 @@ Public Class frmMain
|
||||
Try : ico.Visible = Not Visible : Catch : End Try
|
||||
End Sub
|
||||
|
||||
|
||||
Private Sub Form1_Load(sender As Object, e As EventArgs) Handles Me.Load
|
||||
VERAG_PROG_ALLGEMEIN.cAllgemein.TESTSYSTEM = False
|
||||
VERAG_PROG_ALLGEMEIN.cAllgemein.FIRMA = "VERAG"
|
||||
'auf UPDATES prüfen:
|
||||
Dim LOGIN As New cLogin
|
||||
If CInt(LOGIN.getAktuelleVersion().Replace(".", "")) > CInt(My.Resources.version.Replace(".", "")) Then
|
||||
@@ -202,6 +205,8 @@ Public Class frmMain
|
||||
Dim AtWoche_zolaris As Double = BRG.getBrgSumFromFMZOLL_Zolaris(Now.AddDays(-6).ToShortDateString, Now.ToShortDateString, "50", "60", brg_AT)
|
||||
'TELOTEC AT WOCHE
|
||||
Dim AtWoche_TELOTEC As Double = BRG.getBrgSumFromFMZOLL_TELOTEC(Now.AddDays(-6).ToShortDateString, Now.ToShortDateString, "50", "60", brg_AT)
|
||||
'TELOTEC AT WOCHE
|
||||
Dim AtWoche_nctsTR As Double = BRG.getBrgSumFromFMZOLL_NCTS_TR(Now.AddDays(-6).ToShortDateString, Now.ToShortDateString, "50", "60", brg_AT)
|
||||
'AT WOCHE
|
||||
Dim woche_at As Double = AtWoche_atlas + AtWoche_zolaris + AtWoche_TELOTEC
|
||||
setLabel(lblAtWoche, String.Format("{0:C}", CDbl(woche_at)))
|
||||
@@ -212,8 +217,10 @@ Public Class frmMain
|
||||
Dim AtTag_atlas As Double = BRG.getBrgSumFromFMZOLL_Zabis(Now.AddMonths(-3).ToShortDateString, Now.ToShortDateString, "50", "50", brg_AT)
|
||||
'TELOTEC AT TAG
|
||||
Dim AtTag_telotec As Double = BRG.getBrgSumFromFMZOLL_TELOTEC(Now.AddMonths(-3).ToShortDateString, Now.ToShortDateString, "50", "50", brg_AT)
|
||||
'NCTS_TR AT TAG
|
||||
Dim AtTag_nctsTR As Double = BRG.getBrgSumFromFMZOLL_NCTS_TR(Now.AddMonths(-3).ToShortDateString, Now.ToShortDateString, "50", "50", brg_AT)
|
||||
'AT TAG
|
||||
Dim tag_at As Double = AtTag_zolaris + AtTag_atlas + AtTag_telotec
|
||||
Dim tag_at As Double = AtTag_zolaris + AtTag_atlas + AtTag_telotec + AtTag_nctsTR
|
||||
setLabel(lblAtTag, String.Format("{0:C}", CDbl(tag_at)))
|
||||
Else
|
||||
setLabel(lblAtWoche, "0.0")
|
||||
@@ -379,6 +386,7 @@ Public Class frmMain
|
||||
'betragBrg += zolaris
|
||||
'MsgBox(zolaris)
|
||||
setLabel(lblAufschubBrg_at_VeragCS, String.Format("{0:C}", CDbl(betragBrg)))
|
||||
' MsgBox(betragBrg & " - " & cMonitoringBrg.brgusrset_aufschub_CS_at_warn1)
|
||||
setAlarm2("Aufschubkonto AT - VERAG Customs Sercvie GmbH - HZA Salzburg", "3", Me.lblAufschubBrg_at_VeragCS, cMonitoringBrg.brgusrset_aufschub_CS_at_warn1, cMonitoringBrg.brgusrset_aufschub_CS_at_warn2, cMonitoringBrg.brgusrset_aufschub_CS_at_summe, lblAufschubStatus_at_VeragCS)
|
||||
|
||||
|
||||
@@ -548,7 +556,7 @@ Public Class frmMain
|
||||
stufe = 2
|
||||
End If
|
||||
|
||||
If wert < 0 Then
|
||||
If wert < summe Then
|
||||
lblStatus.Text = "ÜBER"
|
||||
lblStatus.ForeColor = Color.White
|
||||
lblStatus.BackColor = Color.DarkRed
|
||||
@@ -584,6 +592,7 @@ Public Class frmMain
|
||||
End If
|
||||
End If
|
||||
Next
|
||||
Return False
|
||||
End Function
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user