示例#1
0
    public string CoverageInfo()
    {
        if (!IsACoverageBuilding())
        {
            return("");
        }

        return("\n\n I can service " + Coverage.PeopleICanServe(CurrentCoverage(), HType) + " people in this buiding \n" +
               HType + " overall service:" + Coverage.OverallMyType(HType, true) + "\n" +
               "Overall people needing this service:" + Coverage.HowManyPeopleNeedThisService(HType));
    }
示例#2
0
文件: Structure.cs 项目: naaturaz/SM
    public string CoverageInfo()
    {
        if (!IsACoverageBuilding())
        {
            return("");
        }

        return
            (Languages.ReturnString("I.Can.Service") + Coverage.PeopleICanServe(CurrentCoverage(), HType) + " "
             + Languages.ReturnString("people in this building") + "\n\n" +
             Languages.ReturnString(HType + "") + " " + Languages.ReturnString("overall service") + ": "
             + Coverage.OverallMyType(HType, true) + "\n\n" +
             Languages.ReturnString("Overall.People") + Coverage.HowManyPeopleNeedThisService(HType));
    }