package com.ruoyi.system.api.constant;

public class Constant {
    public final static int Image_Type_Pub = 1; // 公共镜像
    public final static int Image_Type_Pri = 0; // 私有镜像

    public final static int Code_Repo_Pub = 1; // 代码仓库可见性-公开
    public final static int Code_Repo_Pri = 0; // 代码仓库可见性-私有

    public final static int State_valid = 1; // 有效
    public final static int State_invalid = 0; // 无效
    public final static int State_building = 2; //创建中
    public final static int State_failed = 3; //运行失败

    public final static int Used_State_used = 1; // 已占用
    public final static int Used_State_unused = 0; // 未占用


    public final static String Computing_Resource_CPU = "CPU"; // 计算资源_CPU
    public final static String Computing_Resource_GPU = "GPU"; // 计算资源_GPU

    public final static int Git_Category_Id = 39;


    public final static String Topic_Dataset = "dataset";
    public final static String Topic_model = "model";

    public final static String Item_Public = "public";

    public final static String Source_Auto_Export = "auto_export";
    public final static String Source_Hand_Export = "hand_export";
    public final static String Source_Add = "add";

    public final static String Building = "Building";

    public final static String Running = "Running";
    public final static String Failed = "Failed";
    public final static String Pending = "Pending";
    public final static String Terminated = "Terminated";
    public final static String Init = "Init";
    public final static String Stopped = "Stopped";
    public final static String Succeeded = "Succeeded";
    public final static String Error = "Error";

    public final static String Unknown = "Unknown";
    public final static String Available = "Available";

    public final static String Ready = "Ready";
    public final static String True = "True";

    public final static String Type_Train = "train";
    public final static String Type_Evaluate = "evaluate";

    public final static String AutoMl_Classification = "classification";

    public final static String Asset_Type_Dataset = "dataset";
    public final static String Asset_Type_Model = "model";
    public final static String Asset_Type_Image = "image";
    public final static String Asset_Type_Code = "code";
    public final static String Asset_Type_Service = "service";

    // 任务类型
    public final static String TaskType_Dev = "dev_environment";
    public final static String TaskType_Workflow = "workflow";
    public final static String TaskType_Ray = "ray";
    public final static String TaskType_ActiveLearn = "active_learn";
    public final static String TaskType_Service = "service";
    public final static String TaskType_ML = "machine_learn";

    public final static String ML_CSV = "auto_ml";
    public final static String ML_TextClassification = "text_classification";
    public final static String ML_VideoClassification = "video_classification";

    public final static String AL_PYTORCH = "pytorch";
    public final static String AL_SKLEARN = "sklearn";
    public final static String AL_KERAS = "keras";

    public final static String DelFlag = "2";

    public final static String Code = "123123";

    public final static String Sex_Men = "0";

    public final static String Admin = "admin";
}
