// goose.addElement(dataset);
Sequence goose2 = new Sequence();
goose2.setTagClass(Tag.APPLICATION);
goose2.setTagNumber(1);
BerNode gocbRef=new BerVisibleString("X7212_1JD_GOPROT/LLN0$GO$gocbTx");
gocbRef.setTagClass(Tag.CONTEXT);
gocbRef.setTagNumber(0);
goose2.addElement(gocbRef);
BerNode timeAllowedtoLive=new ASN1Integer(10000);
timeAllowedtoLive.setTagClass(Tag.CONTEXT);
timeAllowedtoLive.setTagNumber(1);
goose2.addElement(timeAllowedtoLive);
BerNode datSet=new BerVisibleString(2,"X7212_1JD_GOPROT/LLN0$dsGooseTx");
datSet.setTagClass(Tag.CONTEXT);
datSet.setTagNumber(2);
goose2.addElement(datSet);
BerNode goID=new BerVisibleString(3,"X7212_GOOSE_TX_ID");
goID.setTagClass(Tag.CONTEXT);
goID.setTagNumber(3);
goose2.addElement(goID);
//前4个字节是从1970年1月1日0时0分0秒开始的秒数,紧跟的3个字节是秒的小数部分,最后一个字节是时间品质和精度。
//秒值=0x49 56 dc 03 = 1230429187s;
//秒的小数部分=(0x6d 0e 56) / (2^24) = 0.426000s;
//时间品质=0x50=0101 0000B:时钟错误,精度为16(25微秒,T3级时钟)。