|
|
@@ -13,6 +13,7 @@ import android.os.Bundle; |
|
|
|
import android.util.AttributeSet; |
|
|
|
import android.view.LayoutInflater; |
|
|
|
import android.view.View; |
|
|
|
import android.widget.ImageView; |
|
|
|
import android.widget.LinearLayout; |
|
|
|
import android.widget.RelativeLayout; |
|
|
|
import android.widget.TextView; |
|
|
@@ -52,6 +53,9 @@ import butterknife.OnClick; |
|
|
|
|
|
|
|
public class CookingSimulatedActivity extends BaseActivity { |
|
|
|
//region 变量 |
|
|
|
@BindView(R.id.device_image) |
|
|
|
ImageView device_image; |
|
|
|
|
|
|
|
@BindView(R.id.touliao_k) |
|
|
|
LinearLayout touliao_k; |
|
|
|
|
|
|
@@ -140,10 +144,15 @@ public class CookingSimulatedActivity extends BaseActivity { |
|
|
|
* 初始化数据 |
|
|
|
*/ |
|
|
|
public void initData() { |
|
|
|
if (ConfigName.getInstance().versionSelectionEnum.equals("大炒版本")) |
|
|
|
{ |
|
|
|
if (ConfigName.getInstance().versionSelectionEnum.equals("大炒版本")) { |
|
|
|
touliao_k.setVisibility(View.GONE); |
|
|
|
touliao_m.setVisibility(View.GONE); |
|
|
|
device_image.setImageResource(R.mipmap.device00); |
|
|
|
}else |
|
|
|
{ |
|
|
|
touliao_k.setVisibility(View.VISIBLE); |
|
|
|
touliao_m.setVisibility(View.VISIBLE); |
|
|
|
device_image.setImageResource(R.mipmap.device1); |
|
|
|
} |
|
|
|
|
|
|
|
yeliao1.setTag(ConfigName.getInstance().SilosDisplayMaterial.get(1) + ""); |
|
|
|