/// <summary> /// Creates a new Command /// </summary> /// <param name="command">filled command</param> public LICommandAndAnswer(ILICommunication command) { Command = command; Answer = null; }
/// <summary> /// Creates a new answer from factory /// </summary> /// <param name="answerArray">bytearray from central</param> /// <returns>returns a representational class to the central given bytearray</returns> public static ILICommunication CreateNew(byte[] answerArray) { ILICommunication answer = GetNewAnswer(answerArray); return(answer); }