Skip to content

Commit de659ed

Browse files
committed
beautify cdr creator
1 parent 3121b44 commit de659ed

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Cdr_Processor/src/main/java/CsvHandler.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,8 @@ public static void main(String[] args) throws IOException {
5252

5353
Date date = new Date();
5454
Timestamp ts = new Timestamp(date.getTime());
55-
CDR cdr = new CDR(10, "01207391838", "01126498473", String.valueOf(ts), 50, 0, 1, 4);
55+
int voice=1,cross=2,data=3,sms=4,roaming=5;
56+
CDR cdr = new CDR(10, "01126498473", "01126498473", String.valueOf(ts), 1000, 0, voice, 6);
5657
CsvHandler cv = new CsvHandler();
5758
cv.writeDataLineByLine(cdr);
5859
}

0 commit comments

Comments
 (0)