Administrator
2024-07-18 66160634b3f6ee11af600cc17ef477aed657d28e
pipIrr-platform/pipIrr-web/pipIrr-mwTest-rtu/src/main/java/com/dy/pipIrrMwTestRtu/tcpClient/upData/UpConstant.java
@@ -13,15 +13,16 @@
    private static String openValveDt ;
    private static String closeValveDt ;
    public static Integer instantAmount = 10123;//瞬时流量10.000
    public static Integer totalAmount = 1234567;//实为12345.67
    public static Integer remainMoney = 56789;//实为567.89
    public static Integer thisAmount = 1000;//实为10.00
    public static Integer thisMoney = 1000;//实为10.00
    public static Integer thisAmount = 0;//
    public static Integer thisMoney = 0;//
    public static Integer thisTime = 10;//实为10
    public static Integer thisPrice = 100;//实为1.00
    public static Integer perAmount = thisAmount;
    public static Integer perMoney = thisMoney;
    public static Integer perAmount = 10;
    public static Integer perMoney = 0;
    public static void clearOpenValveDt(){
@@ -40,7 +41,11 @@
        return closeValveDt ;
    }
    public static void closeValve(){
    public static void addValve(){
        perMoney = perAmount / (thisPrice / 100) ;
        thisAmount += perAmount ;
        thisMoney += perMoney ;
        totalAmount = totalAmount + perAmount ;
        remainMoney = remainMoney - perMoney ;
    }