public GetGapEnableDisableStr ( byte gapEnableDisable ) : string | ||
gapEnableDisable | byte | |
return | string |
public string GetGapEnableDisableStr(byte gapEnableDisable)
{
string en_dis;
switch (gapEnableDisable)
{
case 0:
en_dis = "Disable";
break;
case 1:
en_dis = "Enable";
break;
default:
en_dis = "Unknown Gap EnableDisable";
break;
}
return en_dis;
}