Type FilterPreferences (TipoAlerta As Int, EstadoAlerta As Int, dataDesde As String, dataAte As String, BotaoDia As Boolean, BotaoSemana As Boolean, BotaoMes As Boolean, BotaoDefinir As Boolean)
Public Sub CreateFilterPreferences (TipoAlerta As Int, EstadoAlerta As Int, dataDesde As String, dataAte As String, BotaoDia As Boolean, BotaoSemana As Boolean, BotaoMes As Boolean, BotaoDefinir As Boolean) As FilterPreferences
Dim t1 As FilterPreferences
t1.Initialize
t1.TipoAlerta = TipoAlerta
t1.EstadoAlerta = EstadoAlerta
t1.dataDesde = dataDesde
t1.dataAte = dataAte
t1.BotaoDia = BotaoDia
t1.BotaoSemana = BotaoSemana
t1.BotaoMes = BotaoMes
t1.BotaoDefinir = BotaoDefinir
Return t1
End Sub