zhubaomin
2024-11-27 4fe39e9df868a8fdd40549f169adbea2e8bd622a
pipIrr-platform/pipIrr-common/src/main/java/com/dy/common/mw/channel/tcp/PrefixedDataAvailableStatus.java
@@ -9,6 +9,8 @@
   
   private Integer status ;
   private Integer dataLen ;
   public String protocolName;
   public Short protocolVersion;
   
   public PrefixedDataAvailableStatus(){
      status = null ;
@@ -44,9 +46,11 @@
    * @return 状态
    */
   @SuppressWarnings("unused")
   public PrefixedDataAvailableStatus adjoined(Integer dataLen){
   public PrefixedDataAvailableStatus adjoined(Integer dataLen, String protocolName, Short protocolVersion){
      this.status = status_adjoin ;
      this.dataLen = dataLen ;
      this.protocolName = protocolName ;
      this.protocolVersion = protocolVersion ;
      return this ;
   }
   
@@ -56,9 +60,11 @@
    * @return 状态
    */
   @SuppressWarnings("unused")
   public PrefixedDataAvailableStatus completed(Integer dataLen){
   public PrefixedDataAvailableStatus completed(Integer dataLen, String protocolName, Short protocolVersion){
      this.status = status_complete ;
      this.dataLen = dataLen ;
      this.protocolName = protocolName ;
      this.protocolVersion = protocolVersion ;
      return this ;
   }