static SmppStatusCodes()
 {
     Codes.Add(0, "Command executed successfully");
     Codes.Add(1, "Message Length is invalid");
     Codes.Add(2, "Command Length is invalid");
     Codes.Add(3, "Invalid Command ID");
     Codes.Add(4, "Incorrect BIND Status for given command");
     Codes.Add(5, "ESME Already in Bound State");
     Codes.Add(6, "Invalid Priority Flag");
     Codes.Add(7, "Invalid Registered Delivery Flag");
     Codes.Add(8, "System Error");
     Codes.Add(10, "Invalid Source Address");
     Codes.Add(11, "Invalid Destination Address");
     Codes.Add(12, "Message ID is invalid");
     Codes.Add(13, "Bind Failed");
     Codes.Add(14, "Invalid Password");
     Codes.Add(15, "Invalid System ID");
     Codes.Add(0x11, "Cancel SM Failed");
     Codes.Add(0x13, "Replace SM Failed");
     Codes.Add(20, "Message Queue Full");
     Codes.Add(0x15, "Invalid Service Type");
     Codes.Add(0x33, "Invalid number of destinations");
     Codes.Add(0x34, "Invalid Distribution List name");
     Codes.Add(0x40, "Destination flag is invalid (submit_multi)");
     Codes.Add(0x42,
               "Submit w/replace functionality has been requested where it is either unsupported or inappropriate for the particular MC");
     Codes.Add(0x43, "Invalid esm_class field data");
     Codes.Add(0x44, "Cannot Submit to Distribution List");
     Codes.Add(0x45, "submit_sm, data_sm or submit_multi failed");
     Codes.Add(0x48, "Invalid Source address TON");
     Codes.Add(0x49, "Invalid Source address NPI");
     Codes.Add(80, "Invalid Destination address TON");
     Codes.Add(0x51, "Invalid Destination address NPI");
     Codes.Add(0x53, "Invalid system_type field");
     Codes.Add(0x54, "Invalid replace_if_present flag");
     Codes.Add(0x55, "Invalid number of messages");
     Codes.Add(0x58, "Throttling error (ESME has exceeded allowed message limits)");
     Codes.Add(0x61, "Invalid Scheduled Delivery Time");
     Codes.Add(0x62, "Invalid message validity period (Expiry time)");
     Codes.Add(0x63, "Predefined Message ID is Invalid or specified predefined message was not found");
     Codes.Add(100, "ESME Receiver Temporary App Error Code");
     Codes.Add(0x65, "ESME Receiver Permanent App Error Code");
     Codes.Add(0x66, "ESME Receiver Reject Message Error Code");
     Codes.Add(0x67, "Query_Sm request failed");
     Codes.Add(0xc0, "Error in the optional part of the PDU Body");
     Codes.Add(0xc1, "TLV not allowed");
     Codes.Add(0xc2, "Invalid Parameter Length");
     Codes.Add(0xc3, "Expected TLV missing");
     Codes.Add(0xc4, "Invalid TLV Value");
     Codes.Add(0xfe, "Transaction Delivery Failure");
     Codes.Add(0xff, "Unknown Error");
     Codes.Add(0x100, "ESME Not authorised to use specified service_type");
     Codes.Add(0x101, "ESME Prohibited from using specified operation");
     Codes.Add(0x102, "Specified service_type is unavailable");
     Codes.Add(0x103, "Specified service_type is denied");
     Codes.Add(260, "Invalid Data Coding Scheme");
     Codes.Add(0x105, "Source Address Sub unit is Invalid");
     Codes.Add(0x106, "Destination Address Sub unit is Invalid");
     Codes.Add(0x107, "Broadcast Frequency Interval is invalid");
     Codes.Add(0x108, "Broadcast Alias Name is invalid");
     Codes.Add(0x109, "Broadcast Area Format is invalid");
     Codes.Add(0x10a, "Number of Broadcast Areas is invalid");
     Codes.Add(0x10b, "Broadcast Content Type is invalid");
     Codes.Add(0x10c, "Broadcast Message Class is invalid");
     Codes.Add(0x10d, "Broadcast_sm operation failed");
     Codes.Add(270, "Query_broadcast_sm operation failed");
     Codes.Add(0x10f, "Cancel_broadcast_sm operation failed");
     Codes.Add(0x110, "Number of Repeated Broadcasts is invalid");
     Codes.Add(0x111, "Broadcast Service Group is invalid");
     Codes.Add(0x112, "Broadcast Channel Indicator is invalid");
     Codes.Add(0x15f95, "Local Exception. Check LastException property");
     Codes.Add(-1, "Invalid Error Code for this version. Maybe is a MC custom error code");
     StateCodes.Add(0, "The message is scheduled. Delivery has not yet been initiated");
     StateCodes.Add(1, "The message is in enroute state");
     StateCodes.Add(2, "Message is delivered to destination");
     StateCodes.Add(3, "Message validity period has expired");
     StateCodes.Add(4, "Message has been deleted");
     StateCodes.Add(5, "Message is undeliverable");
     StateCodes.Add(6, "Message is in accepted state");
     StateCodes.Add(7, "Message is in invalid state");
     StateCodes.Add(8, "Message is in a rejected state");
     StateCodes.Add(9, "The message was accepted but not transmitted or broadcast on the network");
     StateCodes.Add(-1, "Invalid State Code for this version. Maybe is a MC custom state code");
 }