/// <summary> /// Fournit une string de description du status /// </summary> /// <param name="status"> Status à interpreter</param> public static string ProtoStatusGetString(proto_Status_t status) { List <string> lszStatus = new List <string> { "Success", "Erreur Système", "CRC de la trame reçue invalide", "Le peer signale une erreur de CRC", "Argument invalide", "timeout", "Erreur de protocole" }; return(lszStatus[(int)status]); }
public static proto_Status_t proto_master_set(proto_hdle_t _this, byte register_, byte value) { proto_Status_t ret = (proto_Status_t)protocommPINVOKE.proto_master_set(proto_hdle_t.getCPtr(_this), register_, value); return(ret); }
public static proto_Status_t proto_readFrame(proto_hdle_t _this, short tout_ms) { proto_Status_t ret = (proto_Status_t)protocommPINVOKE.proto_readFrame(proto_hdle_t.getCPtr(_this), tout_ms); return(ret); }
public static proto_Status_t proto_master_get(proto_hdle_t _this, byte register_, SWIGTYPE_p_unsigned_char value) { proto_Status_t ret = (proto_Status_t)protocommPINVOKE.proto_master_get(proto_hdle_t.getCPtr(_this), register_, SWIGTYPE_p_unsigned_char.getCPtr(value)); return(ret); }