AeroflexDataBuffer.java
635 Bytes
package com.example.mina.base;
/**
* @author 杜云山
* @date 2021/03/05
*/
public class AeroflexDataBuffer extends HardwareDataBuffer {
public AeroflexDataBuffer(int row, int maxAtten) {
super(row, row, row, maxAtten);
matrix_data = new Entry[row][row];
offset_data = new Entry[row];
for (int i = 0; i < row; i++) {
for (int k = 0; k < row; k++) {
matrix_data[i][k] = new Entry(i, k, "kk", maxAtten, false);
}
}
for (int i = 0; i < row; i++) {
offset_data[i] = new Entry(i, 0, "rr", maxAtten, false);
}
}
}