testapp.command.write ===================== .. py:module:: testapp.command.write Classes ------- .. autoapisummary:: testapp.command.write.WriteCommand Module Contents --------------- .. py:class:: WriteCommand Bases: :py:obj:`testapp.command.__interface.CommandInterface` Write 클래스는 지정된 LBA에 데이터를 쓰는 명령어를 구현합니다. .. attribute:: driver SSD 드라이버 객체 :type: SsdDriver .. py:attribute:: required_args_cnt :type: int :value: 2 .. py:attribute:: driver .. py:method:: run(lba: str | int, value: str | int) -> None 지정된 LBA에 데이터를 씁니다. :param lba: 논리 블록 주소 :type lba: str | int :param value: 쓸 데이터 (16진수 문자열) :type value: str | int .. py:method:: is_valid_args(*args) -> bool :staticmethod: 주어진 인자가 유효한지 확인합니다. :returns: 인자가 유효한 경우 True, 그렇지 않으면 False :rtype: bool