Automatak.Simulator.DNP3.Commons.Measurement.GetTimeModeString C# (CSharp) Method

GetTimeModeString() private static method

private static GetTimeModeString ( TimestampMode mode ) : string
mode TimestampMode
return string
        private static string GetTimeModeString(TimestampMode mode)
        {
            switch(mode)
            {
                case(TimestampMode.INVALID):
                    return "local timestamp";
                case(TimestampMode.SYNCHRONIZED):
                    return "synchronized";
                default:
                    return "unsynchronized";
            }
        }