-
-
Save inoook/aad8a1c97e8f4bf43c8780ec20de8b33 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public enum MONITOR_MODE | |
{ | |
IDLE = 0, LIVE, REPLAY | |
} | |
public static MONITOR_MODE IntToMONITOR_MODE(int id) | |
{ | |
return (MONITOR_MODE)( ( System.Enum.GetValues( typeof(MONITOR_MODE) ) ).GetValue(id) ); | |
} | |
public static int MONITOR_MODE_ToInt(MONITOR_MODE mode) | |
{ | |
return (int)mode; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment