Opened 9 years ago
Closed 9 years ago
#2 closed enhancement (fixed)
add instrument_file and instrument_definition
Reported by: | zhangjr | Owned by: | somebody |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | component1 | Version: | |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Parent ID: | Parent Tickets: | ||
Estimated Number of Hours: | 0.0 | Add Hours to Ticket: | 0 |
Billable?: | yes | Total Hours: | 0 |
Description
instrument_file: the name of IDF xml file
instrument_definition: the content of IDF xml file
Subtickets
Child Tickets
Change History (2)
comment:1 Changed 9 years ago by zhangjr
comment:2 Changed 9 years ago by zhangjr
- Resolution set to fixed
- Status changed from new to closed
Note: See
TracTickets for help on using
tickets.
String instrumentFile = "CSNS_BL01_Definition_2016_05_18.xml"
FileInputStream? inputStream =new FileInputStream?("./instrument/"+instrumentFile))
String instrumentDefinition = IOUtils.toString(inputStream);
The IDF file is located in main/instrument folder