eDosStationFull/eDosStation_Backup_2025.01.09_11.33.03/UserInfo.xaml.cs
2026-08-18 12:15:26 +02:00

38 lines
1.4 KiB
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection.Emit;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Shapes;
using System.Xml;
namespace eDosStation
{
/// <summary>
/// Interaction logic for UserInfo.xaml
/// </summary>
public partial class UserInfo : Window
{
public XmlDocument UInfo;
public UserInfo()
{
InitializeComponent();
}
public void LoadInfo()
{
const string testInfo = "<Info PersID=\"17183\" Name=\"Mutert\" FirstName=\"Peter\" Group=\"W\" badgeColor=\"Blue\" RFStart=\"2006-01-01\" RFEnd=\"2046-07-31\" MedicOK=\"1\" MedicExpiry=\"2025-04-09\" MedicCat=\"A\" QuizOK=\"1\" QuizDate=\"2024-08-06T09:13:24.643\" QuizExpiry=\"2025-08-06\" InVitroReq=\"0\" InVitroFreq=\"0\" InVitroOK=\"1\" InVivoReq=\"1\" InVivoWbcFreq=\"1\" InVivoWbcExpiry=\"2025-12-04\" InVivoLungFreq=\"1\" InVivoLungExpiry=\"2025-12-04\" InVivoOK=\"1\" VxMinLevel=\"2\" VxColor=\"1\" VxExpiry=\"2028-03-17\" VxType=\"1\" hasVx=\"1\" />";
UInfo = new XmlDocument();
UInfo.LoadXml(testInfo);
}
}
}