public void Initialize()
{
m_dataset = new DataSet();
m_dataset.Tables.Add("FluidLevelTests");
m_dataset.Tables[0].Columns.Add(Opc.Ua.BrowseNames.EventId, typeof(string));
m_dataset.Tables[0].Columns.Add(Opc.Ua.BrowseNames.Time, typeof(DateTime));
m_dataset.Tables[0].Columns.Add(BrowseNames.NameWell, typeof(string));
m_dataset.Tables[0].Columns.Add(BrowseNames.UidWell, typeof(string));
m_dataset.Tables[0].Columns.Add(BrowseNames.TestDate, typeof(DateTime));
m_dataset.Tables[0].Columns.Add(BrowseNames.TestReason, typeof(string));
m_dataset.Tables[0].Columns.Add(BrowseNames.FluidLevel, typeof(double));
m_dataset.Tables[0].Columns.Add(Opc.Ua.BrowseNames.EngineeringUnits, typeof(string));
m_dataset.Tables[0].Columns.Add(BrowseNames.TestedBy, typeof(string));
m_dataset.Tables.Add("InjectionTests");
m_dataset.Tables[1].Columns.Add(Opc.Ua.BrowseNames.EventId, typeof(string));
m_dataset.Tables[1].Columns.Add(Opc.Ua.BrowseNames.Time, typeof(DateTime));
m_dataset.Tables[1].Columns.Add(BrowseNames.NameWell, typeof(string));
m_dataset.Tables[1].Columns.Add(BrowseNames.UidWell, typeof(string));
m_dataset.Tables[1].Columns.Add(BrowseNames.TestDate, typeof(DateTime));
m_dataset.Tables[1].Columns.Add(BrowseNames.TestReason, typeof(string));
m_dataset.Tables[1].Columns.Add(BrowseNames.TestDuration, typeof(double));
m_dataset.Tables[1].Columns.Add(Opc.Ua.BrowseNames.EngineeringUnits, typeof(string));
m_dataset.Tables[1].Columns.Add(BrowseNames.InjectedFluid, typeof(string));
m_random = new Random();
// look up the local timezone.
TimeZone timeZone = TimeZone.CurrentTimeZone;
m_timeZone = new TimeZoneDataType();
m_timeZone.Offset = (short)timeZone.GetUtcOffset(DateTime.Now).TotalMinutes;
m_timeZone.DaylightSavingInOffset = timeZone.IsDaylightSavingTime(DateTime.Now);
}