示例#1
0
 public string[] setHearingInspectionDataBase(CreateHearingInspection StructData)
 {
     Audiometry aDB = new Audiometry();
     if (int.Parse(aDB._StaffhaveRoles[1]) == 1)
     {
         return aDB.setHearingInspectionData(StructData);
     }
     else
     {
         return new string[2] { _noRole, _errorMsg };
     }
 }