Initial check-in
This commit is contained in:
@@ -0,0 +1,64 @@
|
||||
/*-------------------------------------------------------------------------
|
||||
// UNCLASSIFIED
|
||||
/*-------------------------------------------------------------------------
|
||||
RAYTHEON PROPRIETARY: THIS DOCUMENT CONTAINS DATA OR INFORMATION
|
||||
PROPRIETARY TO RAYTHEON COMPANY AND IS RESTRICTED TO USE ONLY BY PERSONS
|
||||
AUTHORIZED BY RAYTHEON COMPANY IN WRITING TO USE IT. DISCLOSURE TO
|
||||
UNAUTHORIZED PERSONS WOULD LIKELY CAUSE SUBSTANTIAL COMPETITIVE HARM TO
|
||||
RAYTHEON COMPANY'S BUSINESS POSITION. NEITHER SAID DOCUMENT NOR ITS
|
||||
CONTENTS SHALL BE FURNISHED OR DISCLOSED TO OR COPIED OR USED BY PERSONS
|
||||
OUTSIDE RAYTHEON COMPANY WITHOUT THE EXPRESS WRITTEN APPROVAL OF RAYTHEON
|
||||
COMPANY.
|
||||
|
||||
THIS PROPRIETARY NOTICE IS NOT APPLICABLE IF DELIVERED TO THE U.S.
|
||||
GOVERNMENT.
|
||||
|
||||
UNPUBLISHED WORK - COPYRIGHT RAYTHEON COMPANY.
|
||||
-------------------------------------------------------------------------*/
|
||||
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.IO;
|
||||
using System.Xml.Serialization;
|
||||
|
||||
namespace Raytheon
|
||||
{
|
||||
/// <summary>
|
||||
/// Serialiable class to store self test and power off time to XML
|
||||
/// and restore info from XML to this class
|
||||
/// </summary>
|
||||
[Serializable]
|
||||
public class PowerSupplySelfTestTime
|
||||
{
|
||||
[XmlAttribute("power_system")]
|
||||
public string _powerSystem { get; set; }
|
||||
|
||||
// date and time of last power off of a power module
|
||||
[XmlAttribute("power_off_time")]
|
||||
public string _powerOffTime { get; set; }
|
||||
|
||||
// date and time of last successful self test
|
||||
[XmlAttribute("self_test_time")]
|
||||
public string _selfTestTime { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// constructor
|
||||
/// </summary>
|
||||
public PowerSupplySelfTestTime()
|
||||
{
|
||||
_powerOffTime = Raytheon.Common.GeneralConstants.DefaultConfigValue;
|
||||
_powerSystem = Raytheon.Common.GeneralConstants.DefaultConfigValue;
|
||||
_selfTestTime = Raytheon.Common.GeneralConstants.DefaultConfigValue;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// constructor
|
||||
/// </summary>
|
||||
public PowerSupplySelfTestTime(string powerSystem, string powerOffTime, string selfTestTime)
|
||||
{
|
||||
_powerOffTime = powerOffTime;
|
||||
_powerSystem = powerSystem;
|
||||
_selfTestTime = selfTestTime;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user