public PeakClass(HEALTH_STATISTICS parent, string objectName) { singleton = new object(); Name = objectName; parent.OnOneSecondTick += OnTimerTick; _CurrentValue = 0; }
public GenericStatisticsClass(HEALTH_STATISTICS parent, string objectName) { PerSecond = new PerSecondCounterClass(parent, objectName + ".PerSecond"); RunningAverage = new RunningAverageClass(parent, objectName + ".RunningAverage"); Accumulator = new AccumulatorClass(parent, objectName + ".Accumulator"); Snapshot = new SnapshotClass(parent, objectName + ".Snapshot"); Peak = new PeakClass(parent, objectName + ".Peak"); StatString = new StatStringClass(parent, objectName + ".StatString"); boolean = new booleanClass(parent, objectName + ".boolean"); SnapshotDouble = new SnapshotDoubleClass(parent, objectName + ".SnapshotDouble"); }
// /////////////////////////////////////////////////////// // Constructor /// <summary> /// AppData Constructor /// </summary> public APPLICATION_DATA() { try { AppClosingNotifiers = new List <APP_CLOSING_ITEM>(); ThisComputerName = System.Net.Dns.GetHostEntry("LocalHost").HostName; RemoteServerLock = new object(); HealthStatistics = new HEALTH_STATISTICS(this); SerialNumberLock = new object(); globalFrameSerialNumber = 0; MoviePlayerParentPanel = new object[MAX_VIRTUAL_CHANNELS]; LPRServiceControl = new LPR_SERVICE_CONTROL(); LPRServiceControl.ConfigChangedServiceNeedsRestarting = false; } catch (Exception ex) { Console.WriteLine("Exception on APPLICATION_DATA Startup: ex : " + ex.Message); } }
public SnapshotDoubleClass(HEALTH_STATISTICS parent, string objectName) { singleton = new object(); Name = objectName; }
public SnapshotClass(HEALTH_STATISTICS parent, string objectName) { singleton = new object(); Name = objectName; parent.OnOneSecondTick += OnTimerTick; }
public booleanClass(HEALTH_STATISTICS parent, string objectName) { singleton = new object(); Name = objectName; _CurrentValue = false; }
public GenericStatisticsClass(HEALTH_STATISTICS parent, string objectName) { PerSecond = new PerSecondCounterClass(parent, objectName + ".PerSecond"); RunningAverage = new RunningAverageClass(parent, objectName +".RunningAverage"); Accumulator = new AccumulatorClass(parent, objectName + ".Accumulator"); Snapshot = new SnapshotClass(parent, objectName + ".Snapshot"); Peak = new PeakClass(parent, objectName + ".Peak"); StatString = new StatStringClass(parent, objectName + ".StatString"); boolean = new booleanClass(parent, objectName + ".boolean"); SnapshotDouble = new SnapshotDoubleClass(parent, objectName + ".SnapshotDouble") ; }
public StatStringClass(HEALTH_STATISTICS parent, string objectName) { singleton = new object(); Name = objectName; _CurrentValue = ""; }
public RunningAverageClass(HEALTH_STATISTICS parent, string objectName) { singleton = new object(); Name = objectName; parent.OnOneSecondTick += OnTimerTick; }
public PerSecondCounterClass(HEALTH_STATISTICS parent, string objectName) { singleton = new object(); Name = objectName; parent.OnOneSecondTick += OnTimerTick; }
// /////////////////////////////////////////////////////// // Constructor /// <summary> /// AppData Constructor /// </summary> public APPLICATION_DATA() { try { AppClosingNotifiers = new List<APP_CLOSING_ITEM>(); ThisComputerName = System.Net.Dns.GetHostEntry("LocalHost").HostName; RemoteServerLock = new object(); HealthStatistics = new HEALTH_STATISTICS(this); SerialNumberLock = new object(); globalFrameSerialNumber = 0; MoviePlayerParentPanel = new object[MAX_VIRTUAL_CHANNELS]; LPRServiceControl = new LPR_SERVICE_CONTROL(); LPRServiceControl.ConfigChangedServiceNeedsRestarting = false; } catch (Exception ex) { Console.WriteLine("Exception on APPLICATION_DATA Startup: ex : " + ex.Message); } }