public static string lineIdentityToString(LineIdentity lineIdentity) { switch (lineIdentity) { case LineIdentity.DTR: return("DTR (output)"); case LineIdentity.RTS: return("RTS (output)"); case LineIdentity.CD: return("CD (input)"); case LineIdentity.DSR: return("DSR (input)"); case LineIdentity.RI: return("RI (input)"); default: return("None"); } }
public void setLineBIdentity(LineIdentity value) { setVariable(VariableId.LINE_B_IDENTITY, (byte)value); }
public static string lineIdentityToString(LineIdentity lineIdentity) { switch (lineIdentity) { case LineIdentity.DTR: return "DTR (output)"; case LineIdentity.RTS: return "RTS (output)"; case LineIdentity.CD: return "CD (input)"; case LineIdentity.DSR: return "DSR (input)"; case LineIdentity.RI: return "RI (input)"; default: return "None"; } }
public void setLineBIdentity(LineIdentity value) { setVariable(VariableId.LINE_B_IDENTITY, (byte)value); }