package com.ho.datacollect.util;

public class MqttConfigUtil {

    public static String[] commonTopic = new String[]{
            "+/device/fa22fd97b39c04c8",
            "+/device/803274d9432df350",
            "+/device/e4067161c4ab1929",
            "+/device/f0e9a01d8b98e820",
            "+/device/f6c6c5b5dfcc73bb",
            "+/device/9038222e7fb8789d",
            "+/device/a707000000000000",
            "+/device/811b4eb0f8e99c12",
            "+/device/c2c574a5c691bf69",
            "+/device/5265899ad223c157",
            "+/device/517664ba87ac49ec",
            "+/device/b602b10956119d39",
            "+/device/4c7dd125b6da91fd",
            "+/device/581bf6724737da0c",
            "+/device/8a2396ad453891b1",
            "+/device/917ca24a9ccdf809",
            "+/device/a8402702a1d41d88",
            "+/device/7a5202c7dc74afd6",
            "+/device/bfe7a19ced50c54d",
            "+/device/21f835330b485415",
            "+/device/a978d559eeb0a32e",
            "+/device/4dddf8b0caae7d8b",
            "+/device/beff9c2ea2d210c4",
            "+/device/a5af67550fd4dc50",
            "+/device/0c3e8eadd58f8a51",
            "+/device/14ed724c77b73494",
            "+/device/d12d361c6bfef025",
            "+/device/781c2bf41a6ffa5a",
            "+/device/ac10829b20169da0",
            "+/device/ec939740502f3a66",
            "+/device/e0c812e00ac4e006",
            "+/device/0000000000000000",
            "+/device/5e9b285116453b1a",
            "+/device/eeb34d0de2b6a953",
            "+/device/56501a13712f9a6e",
            "+/device/e8d98e91aaa7b04f",
            "+/device/6c6978a7fb9a8f6d",
            "+/device/6803ef0410fb7c02",
            "+/device/fe828101e353b919",
            "+/device/42ff4118453e41ca",
            "+/device/d9f866f14483c92d",
            "+/device/1deae4a5f1400666",
            "+/device/a608ea4ffb5221d7",
            "+/device/bd0ccfe06c1d3596",
            "+/device/262cdfc279065aa0",
            "+/device/3df87897c35ae0c5",
            "+/device/8ca0297304c266b6",
            "+/device/1200000000000000",
            "+/device/333470f1dccfb19b",
            "+/device/02bd28350b1c2619",
            "+/device/9688431d4f01806e",
            "+/device/a2f3973e0c3b4835",
            "+/device/f91779c511763a5b",
            "+/device/2b8924e509ee8559",
            "+/device/9e4ee680a26303f7",
            "+/device/56d9bb7131c724b5",
            "+/device/9511bebccc477456",
            "+/device/0a3146610bcc5440",
            "+/device/e817466c6127ab44",
            "+/device/99efbb96bc40fd15",
            "+/device/43687f5b1ebecb64",
            "+/device/b9e0cdfdd4df7736",
            "+/device/ed76d5ab39f6c42d",
            "+/device/63f8d5df0c9d647c",
            "+/device/98b61a1f166b8419",
            "+/device/201913c33e0318ee",
            "+/device/9c74bebb12d05635",
            "+/device/1f237999be964f42",
            "+/device/104cebca14ffa98c",
            "+/device/2d1cab6edbfaeb94",
            "+/device/c8c30d1decff167d",
            "+/device/984423fdfda19376",
            "+/device/18db1248acf66a3e",
            "+/device/e18710921a53bfff",
            "+/device/04878a29f87e237d",
            "+/device/c336512bd77d6cbc",
            "+/device/01ac2a161029e555",
            "+/device/4eeccb413407a4e4",
            "+/device/14e7f5c9b123360d",
            "+/device/daf25437cbc31a00",
            "+/device/44dfc09110e1f994",
            "+/device/2dd522056c132349",
            "+/device/bd7f78f9d070abe6",
            "+/device/e932c594ce083810",
            "+/device/b80c3b7513773c7f",
            "+/device/7f0d37c30d28ed0f",
            "+/device/53be81deba3b9c74",
            "+/device/fe5f56cc9029bf20",
            "+/device/60723affac3821a5",
            "+/device/d3e22616db04dc52",
            "+/device/36c12afabd8fa201",
            "+/device/71db70b8ce2eb0d1",
            "+/device/69f319418cfe13a2",
            "+/device/f043173d1fd8cb0d",
            "+/device/9b5084678310c4da",
            "+/device/fa3936fdeb8f8cd1",
            "+/device/0819c35644808b72",
            "+/device/40442c5a0a29de37",
            "+/device/75fa0ee5048bd500",
            "+/device/39674be356de68ad",
            "+/device/b490b672a5f76716",
            "+/device/6a3ba96ed146872b",
            "+/device/3a785a63862c213d",
            "+/device/2d29a0fbac938329",
            "+/device/7d97391a68f8d6af",
            "+/device/b50a1edd44549876",
            "+/device/7c31d3c5c077228f",
            "+/device/99e513be6075f8c6",
            "+/device/5d4297256f02ebc2",
            "+/device/67aa37e699e1e08f",
            "+/device/ea0ebfbfa1487bd2",
            "+/device/aa8a43d326dddb3f",
            "+/device/82d40d7dbcfc884e",
            "+/device/34ee15e05a3133bc",
            "+/device/ee2508ba91664376",
            "+/device/48c18f2a756dcc28",
            "+/device/056d38ac91f61ffd",
            "+/device/60f2bbbc054bfa03",
            "+/device/50fdebcf6eb85a49",
            "+/device/227a752b9bfb6b02",
            "+/device/d60a05bcd086f160",
            "+/device/f3c813d5e3d7fd99",
            "+/device/cd6cb4a64b42bda5",
            "+/device/436de647bbf01b22",
            "+/device/e9eee97d793756fa",
            "+/device/8c062827b5c1548b"
    };

    /**
     * 获取登录验证的监听主题
     * @return
     */
    public static String[] getLoginRequestTopic(){
        String log = "/login/request";
        String[] str = new String[commonTopic.length];
        for (int i = 0; i < commonTopic.length; i++) {
            str[i] = commonTopic[i]+log;
        }
        return  str;
    }

    /**
     * 读取文件请求的监听主题
     * @return
     */
    public static String[] getReadRequestTopic(){
        String log = "/read/response";
        String[] str = new String[commonTopic.length];
        for (int i = 0; i < commonTopic.length; i++) {
            str[i] = commonTopic[i]+log;
        }
        return  str;
    }

    /**
     * 写文件响应的监听主题
     * @return
     */
    public static String[] getWriteRequestTopic(){
        String log = "/write/response";
        String[] str = new String[commonTopic.length];
        for (int i = 0; i < commonTopic.length; i++) {
            str[i] = commonTopic[i]+log;
        }
        return  str;
    }

    /**
     * 获取数据上送监听主题
     * @return
     */
    public static String[] getReportPushTopic(){
        String log = "/report/push";
        String[] str = new String[commonTopic.length];
        for (int i = 0; i < commonTopic.length; i++) {
            str[i] = commonTopic[i]+log;
        }
        return  str;
    }

    /**
     * 获取远程控制主题
     * @return
     */
    public static String[] getControlResponseTopic(){
        String log = "/control/response";
        String[] str = new String[commonTopic.length];
        for (int i = 0; i < commonTopic.length; i++) {
            str[i] = commonTopic[i]+log;
        }
        return  str;
    }
}
