Commit 9db56084 by xmh

修改FLowModel默认值

1 parent d50e9720
...@@ -18,13 +18,13 @@ import java.util.zip.CRC32; ...@@ -18,13 +18,13 @@ import java.util.zip.CRC32;
@Setter @Setter
public class FlowModel extends BaseModel { public class FlowModel extends BaseModel {
private final int[] laneNoAndType = new int[16]; private final int[] laneNoAndType = {-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1};
private final int[] traffic = new int[16]; private final int[] traffic = {-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1};
private final int[] avgSpeed = new int[16]; private final int[] avgSpeed = {-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1};
private final int[] maxQueueLen = new int[16]; private final int[] maxQueueLen = {-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1};
private final int[] occupy = new int[16]; private final int[] occupy = {-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1};
private final int[] avgDistanceBetweenVehicle = new int[16]; private final int[] avgDistanceBetweenVehicle = {-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1};
private final int[] trafficSupplement = new int[16]; private final int[] trafficSupplement = {-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1};
private int serialNum; private int serialNum;
private int time; private int time;
private int timeDuring; private int timeDuring;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!