import { CoeType, IRationCoe } from '@sc/types';
import { v1 } from 'uuid';

// 获取自定义系数
export const getCustomerCoe = (): IRationCoe => {
  return {
    ID: v1(),
    stdID: -1,
    name: '自定义系数',
    content: '人工×1，材料×1，施工机具×1，主材×1，设备×1',
    isAdjust: true,
    coes: [
      { amount: '1', operator: '*', gljCode: '', coeType: CoeType.RATION },
      { amount: '1', operator: '*', gljCode: '', coeType: CoeType.LABOUR },
      { amount: '1', operator: '*', gljCode: '', coeType: CoeType.MATERIAL },
      { amount: '1', operator: '*', gljCode: '', coeType: CoeType.TOOL },
      { amount: '1', operator: '*', gljCode: '', coeType: CoeType.MAIN },
      { amount: '1', operator: '*', gljCode: '', coeType: CoeType.EQUIPMENT },
    ],
  };
};
